|
|
|
@ -351,6 +351,11 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl<TrunklineCarsL
|
|
|
|
|
try { |
|
|
|
|
//更新关联订单数据的发车数量
|
|
|
|
|
trunklineCarsOrderService.updateStartNumByLoadIdAndWarehouseId(loadId, warehouseId); |
|
|
|
|
//删除没有装车的计划数据
|
|
|
|
|
trunklineCarsOrderService.deleteNoRealNumByLoadIdAndWarehouseId(loadId, warehouseId); |
|
|
|
|
//更新关联订单数据的发车数量
|
|
|
|
|
updateNumByLoadId(loadId); |
|
|
|
|
|
|
|
|
|
//生成直发商家签收单
|
|
|
|
|
// createCustomerSignOrder(loadId, warehouseId);
|
|
|
|
|
//生成异常列表
|
|
|
|
@ -6732,8 +6737,8 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl<TrunklineCarsL
|
|
|
|
|
|
|
|
|
|
//需要补装车扫记录
|
|
|
|
|
TrunklineCarsLoadScanEntity trunklineCarsLoadScanEntity = new TrunklineCarsLoadScanEntity(); |
|
|
|
|
trunklineCarsLoadScanEntity.setWarehouseId(warehouseId); |
|
|
|
|
trunklineCarsLoadScanEntity.setWarehouseName(warehouseName); |
|
|
|
|
// trunklineCarsLoadScanEntity.setWarehouseId(warehouseId);
|
|
|
|
|
// trunklineCarsLoadScanEntity.setWarehouseName(warehouseName);
|
|
|
|
|
trunklineCarsLoadScanEntity.setOrderCode(advanceDetailEntity.getOrderCode()); |
|
|
|
|
trunklineCarsLoadScanEntity.setWaybillId(advanceDetailEntity.getWaybillId()); |
|
|
|
|
trunklineCarsLoadScanEntity.setWaybillNo(advanceDetailEntity.getWaybillNo()); |
|
|
|
@ -6771,8 +6776,8 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl<TrunklineCarsL
|
|
|
|
|
|
|
|
|
|
//需要补装车扫记录
|
|
|
|
|
TrunklineCarsLoadScanEntity trunklineCarsLoadScanEntity = new TrunklineCarsLoadScanEntity(); |
|
|
|
|
trunklineCarsLoadScanEntity.setWarehouseId(warehouseId); |
|
|
|
|
trunklineCarsLoadScanEntity.setWarehouseName(warehouseName); |
|
|
|
|
// trunklineCarsLoadScanEntity.setWarehouseId(warehouseId);
|
|
|
|
|
// trunklineCarsLoadScanEntity.setWarehouseName(warehouseName);
|
|
|
|
|
trunklineCarsLoadScanEntity.setOrderCode(advanceDetailEntity.getOrderCode()); |
|
|
|
|
trunklineCarsLoadScanEntity.setWaybillId(advanceDetailEntity.getWaybillId()); |
|
|
|
|
trunklineCarsLoadScanEntity.setWaybillNo(advanceDetailEntity.getWaybillNo()); |
|
|
|
@ -6916,8 +6921,8 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl<TrunklineCarsL
|
|
|
|
|
}else{ |
|
|
|
|
//需要补装车扫记录
|
|
|
|
|
TrunklineCarsLoadScanEntity trunklineCarsLoadScanEntity = new TrunklineCarsLoadScanEntity(); |
|
|
|
|
trunklineCarsLoadScanEntity.setWarehouseId(warehouseId); |
|
|
|
|
trunklineCarsLoadScanEntity.setWarehouseName(warehouseName); |
|
|
|
|
// trunklineCarsLoadScanEntity.setWarehouseId(warehouseId);
|
|
|
|
|
// trunklineCarsLoadScanEntity.setWarehouseName(warehouseName);
|
|
|
|
|
trunklineCarsLoadScanEntity.setLoadId(loadId); |
|
|
|
|
trunklineCarsLoadScanEntity.setLoadCode(loadCode); |
|
|
|
|
trunklineCarsLoadScanEntity.setOrderCode("--"); |
|
|
|
@ -6949,6 +6954,7 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl<TrunklineCarsL
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
//没装车记录,有包件信息
|
|
|
|
|
String waybillNumber = parcelListEntity.getWaybillNumber(); |
|
|
|
|
orderCode = parcelListEntity.getOrderCode(); |
|
|
|
|
Long wid = parcelListEntity.getWarehouseId(); |
|
|
|
@ -6965,8 +6971,8 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl<TrunklineCarsL
|
|
|
|
|
|
|
|
|
|
//需要补装车扫记录
|
|
|
|
|
TrunklineCarsLoadScanEntity trunklineCarsLoadScanEntity = new TrunklineCarsLoadScanEntity(); |
|
|
|
|
trunklineCarsLoadScanEntity.setWarehouseId(warehouseId); |
|
|
|
|
trunklineCarsLoadScanEntity.setWarehouseName(warehouseName); |
|
|
|
|
// trunklineCarsLoadScanEntity.setWarehouseId(warehouseId);
|
|
|
|
|
// trunklineCarsLoadScanEntity.setWarehouseName(warehouseName);
|
|
|
|
|
trunklineCarsLoadScanEntity.setLoadId(loadId); |
|
|
|
|
trunklineCarsLoadScanEntity.setLoadCode(loadCode); |
|
|
|
|
WarehouseWaybillEntity waybillEntity = warehouseWaybillClient.findByWaybillNo(waybillNumber); |
|
|
|
|