md
This commit is contained in:
parent
305bca9510
commit
f242afe191
@ -99,7 +99,7 @@ public class EmisBaseService {
|
|||||||
|
|
||||||
|
|
||||||
public EmisWaybill getWaybillByBillCode(String billCode){
|
public EmisWaybill getWaybillByBillCode(String billCode){
|
||||||
if(!StringUtils.isEmpty(billCode)){
|
if(StringUtils.isEmpty(billCode)){
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -123,21 +123,6 @@ public class EmisBaseService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private void checkWabillCanScan(String scanType,EmisWaybill waybill) throws EmisBizError{
|
|
||||||
|
|
||||||
if(waybill == null){
|
|
||||||
throw new EmisBizError(EmisBizErrorType.NOT_EXISTS,"运单不存在");
|
|
||||||
}
|
|
||||||
|
|
||||||
// if(waybill.getWaybillStatus()){
|
|
||||||
//
|
|
||||||
// }
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 产生客户编码 规则: siteCode+ 000000
|
* 产生客户编码 规则: siteCode+ 000000
|
||||||
* @param siteCode
|
* @param siteCode
|
||||||
|
|||||||
@ -131,16 +131,8 @@ public class EmisTmsScanRecordServiceImpl extends EmisBaseService implements IEm
|
|||||||
return itemList;
|
return itemList;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// 开始检查数据
|
// 开始检查数据
|
||||||
String[] billCodeArr = billCodeInStr.split(",");
|
String[] billCodeArr = billCodeInStr.split(",");
|
||||||
|
|
||||||
String scanDateStr = (String)scanDataItem.get("scanDate");
|
|
||||||
Date scanDate = DateUtils.parseDate(scanDateStr);;
|
|
||||||
if(scanDate ==null){
|
|
||||||
scanDate = new Date();
|
|
||||||
}
|
|
||||||
|
|
||||||
for (String billCode:billCodeArr) {
|
for (String billCode:billCodeArr) {
|
||||||
ScanResultItem scanResultItem = new ScanResultItem();
|
ScanResultItem scanResultItem = new ScanResultItem();
|
||||||
scanResultItem.setBillCode(billCode);
|
scanResultItem.setBillCode(billCode);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user