md
This commit is contained in:
parent
a956f2e870
commit
383a135d0e
@ -131,6 +131,7 @@ public class EmisTmsScanRecordController extends EmisBaseController
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
ScanResult scanResult=emisTmsScanRecordService.scan(scanInfo);
|
||||
return AjaxResult.success("扫描成功",scanResult);
|
||||
}catch (Exception ex){
|
||||
|
||||
@ -30,6 +30,8 @@ public class ScanStatInfoDtl implements Serializable {
|
||||
// 留仓次数
|
||||
private Integer holdCount;
|
||||
|
||||
private Integer transferCount;
|
||||
|
||||
// 运单详情
|
||||
private EmisWaybill waybillDetail;
|
||||
|
||||
|
||||
@ -67,6 +67,8 @@ public class WaybillOrder implements Serializable {
|
||||
/* 支付方式 : 现金或月结 */
|
||||
private String paymentType;
|
||||
|
||||
private String paymentStatus;
|
||||
|
||||
/* 计费方式 01-按重量 02-按体积 03-一口价 */
|
||||
private String calcFeeType;
|
||||
|
||||
@ -482,6 +484,8 @@ public class WaybillOrder implements Serializable {
|
||||
|
||||
voItem.setEstimateDate(dbWaybill.getEstimateDate());
|
||||
|
||||
voItem.setPaymentStatus(dbWaybill.getPaymentStatus());
|
||||
|
||||
voItem.setPackType(dbWaybill.getPackType());
|
||||
voItem.setDispatchMethod(dbWaybill.getDispatchMethod());
|
||||
voItem.setPickupMethod(dbWaybill.getPickupMethod());
|
||||
|
||||
@ -427,6 +427,7 @@ public class EmisTmsScanRecordServiceImpl extends EmisBaseService implements IEm
|
||||
return itemList;
|
||||
}
|
||||
|
||||
|
||||
billCodeInStr=WaybillHelper.formatQueryValue(billCodeInStr);
|
||||
String[] billCodeArr = billCodeInStr.split(",");
|
||||
|
||||
|
||||
@ -272,6 +272,9 @@ public class WaybillHelper {
|
||||
} catch (UnsupportedEncodingException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
str=removeUnSeeChar(str);
|
||||
|
||||
str=str.replaceAll("\\n", ",");
|
||||
str=str.replaceAll("\\r", ",");
|
||||
str=str.replaceAll("\\t", ",");
|
||||
|
||||
@ -85,7 +85,8 @@
|
||||
|
||||
<result property="gotCount" column="gotCount" />
|
||||
<result property="sendCount" column="sendCount" />
|
||||
<result property="arrivalCount" column="arrivalCount" />
|
||||
<result property="arrivalCount" column="arrivalCount" />
|
||||
<result property="transferCount" column="transferCount" />
|
||||
<result property="sentCount" column="sentCount" />
|
||||
<result property="issueCount" column="issueCount" />
|
||||
<result property="holdCount" column="holdCount" />
|
||||
@ -106,7 +107,8 @@
|
||||
sum(IF(scan_type='40',1,0)) as sentCount,
|
||||
sum(IF(scan_type='50',1,0)) as signCount,
|
||||
sum(IF(scan_type='-1',1,0)) as issueCount,
|
||||
sum(IF(scan_type='70',1,0)) as holdCount
|
||||
sum(IF(scan_type='70',1,0)) as holdCount,
|
||||
sum(IF(scan_type='80',1,0)) as transferCount
|
||||
from emis_tms_scan_record a
|
||||
where EXISTS(
|
||||
select 1 from emis_waybill b
|
||||
@ -162,7 +164,7 @@
|
||||
)
|
||||
</if>
|
||||
)
|
||||
and a.scan_type in('10','20','30','40','50','-1')
|
||||
and a.scan_type in('10','20','30','40','50','-1','80')
|
||||
group by a.main_bill_code
|
||||
</select>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user