|
|
|
@ -197,7 +197,7 @@ public class ZbomFactoryOrderListener {
|
|
|
|
|
advanceEntity.setWaybillNo(""); |
|
|
|
|
advanceEntity.setTrainNumber(zbReceiptDTO.getDepartCode()); |
|
|
|
|
advanceEntity.setFreezeStatus("0"); |
|
|
|
|
advanceEntity.setLegacyStatus("0"); |
|
|
|
|
|
|
|
|
|
advanceEntity.setSenderFactory(zbReceiptDTO.getSenderName()); |
|
|
|
|
List<JSONObject> packageList = new ArrayList<>(); |
|
|
|
|
for (OrderPackageDTO orderPackageDTO : value) { |
|
|
|
@ -210,12 +210,18 @@ public class ZbomFactoryOrderListener {
|
|
|
|
|
advanceEntity.setConsigneePerson(orderPackageDTO.getReceiverName()); |
|
|
|
|
advanceEntity.setConsigneeMobile(orderPackageDTO.getReceiverMobile()); |
|
|
|
|
advanceEntity.setConsigneeAddress(orderPackageDTO.getReceiverAddress()); |
|
|
|
|
|
|
|
|
|
// 封装包件
|
|
|
|
|
TrunklineAdvanceDetailEntity advanceDetailEntity = new TrunklineAdvanceDetailEntity(); |
|
|
|
|
advanceDetailEntity.setWarehouseId(startWarehouseId); |
|
|
|
|
advanceDetailEntity.setWarehouseName(startWarehouseName); |
|
|
|
|
// advanceDetailEntity.setIncomingWarehouseId(0L);
|
|
|
|
|
// advanceDetailEntity.setIncomingWarehouseName("");
|
|
|
|
|
// 根据志邦的一流单标识赋值
|
|
|
|
|
advanceEntity.setLegacyStatus("0"); |
|
|
|
|
if(ObjectUtil.equal(orderPackageDTO.getLegacyFlag(),"Y")){ |
|
|
|
|
advanceEntity.setLegacyStatus("1"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
advanceDetailEntity.setOrderCode(orderPackageDTO.getPlatformOrderCode()); |
|
|
|
|
advanceDetailEntity.setBrand(zbReceiptDTO.getSenderName()); |
|
|
|
|