md
This commit is contained in:
parent
88c89a596c
commit
68bbc93c4f
@ -90,7 +90,7 @@ public enum ScanType {
|
|||||||
DECLEARE_SUCCESS("701","报关放行"),
|
DECLEARE_SUCCESS("701","报关放行"),
|
||||||
DECLEARE_FAIL("702","报关失败"),
|
DECLEARE_FAIL("702","报关失败"),
|
||||||
|
|
||||||
CLEARANCE("800","清关开始"),
|
CLEARANCE("800","清关扫描"),
|
||||||
CLEARANCE_SUCCESS("801","清关放行"),
|
CLEARANCE_SUCCESS("801","清关放行"),
|
||||||
CLEARANCE_FAIL("802","清关失败"),
|
CLEARANCE_FAIL("802","清关失败"),
|
||||||
|
|
||||||
|
|||||||
@ -521,6 +521,44 @@ public class EmisTmsScanRecordServiceImpl extends EmisBaseService implements IEm
|
|||||||
String carNo = (String)scanDataItem.get("carNo");
|
String carNo = (String)scanDataItem.get("carNo");
|
||||||
emisTmsScanRecord.setCarNo(carNo);
|
emisTmsScanRecord.setCarNo(carNo);
|
||||||
}
|
}
|
||||||
|
// 报关扫描
|
||||||
|
else if(ScanType.DECLEARE.opCode.equals(scanType)){
|
||||||
|
// 下一站
|
||||||
|
// String scanWeightStr = (String)scanDataItem.get("scanWeight");
|
||||||
|
String preOrNextStationCode = (String)scanDataItem.get("preOrNextStationCode");
|
||||||
|
if(!StringUtils.isEmpty(preOrNextStationCode)) {
|
||||||
|
EmisSite site=getSiteByCode(preOrNextStationCode);
|
||||||
|
emisTmsScanRecord.setPreOrNextStationCode(preOrNextStationCode);
|
||||||
|
emisTmsScanRecord.setPreOrNextStation(site.getSiteName());
|
||||||
|
emisTmsScanRecord.setPreOrNextStationPhone(site.getPhone());
|
||||||
|
|
||||||
|
// 当前站点
|
||||||
|
changeWaybillCurrentSite(emisTmsScanRecord.getBillCode(),emisTmsScanRecord.getScanSiteCode());
|
||||||
|
// 下一站点
|
||||||
|
changeWaybillNextSite(emisTmsScanRecord.getBillCode(),preOrNextStationCode);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
// 清关扫描
|
||||||
|
else if(ScanType.CLEARANCE.opCode.equals(scanType)){
|
||||||
|
// 下一站
|
||||||
|
// String scanWeightStr = (String)scanDataItem.get("scanWeight");
|
||||||
|
String preOrNextStationCode = (String)scanDataItem.get("preOrNextStationCode");
|
||||||
|
if(!StringUtils.isEmpty(preOrNextStationCode)) {
|
||||||
|
EmisSite site=getSiteByCode(preOrNextStationCode);
|
||||||
|
emisTmsScanRecord.setPreOrNextStationCode(preOrNextStationCode);
|
||||||
|
emisTmsScanRecord.setPreOrNextStation(site.getSiteName());
|
||||||
|
emisTmsScanRecord.setPreOrNextStationPhone(site.getPhone());
|
||||||
|
|
||||||
|
// 当前站点
|
||||||
|
changeWaybillCurrentSite(emisTmsScanRecord.getBillCode(),emisTmsScanRecord.getScanSiteCode());
|
||||||
|
// 下一站点
|
||||||
|
changeWaybillNextSite(emisTmsScanRecord.getBillCode(),preOrNextStationCode);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user