|
|
|
@ -6694,6 +6694,7 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl<TrunklineCarsL
|
|
|
|
|
String trayName = null; |
|
|
|
|
String trayCode = null; |
|
|
|
|
String orderCode = null; |
|
|
|
|
Integer isTransfer = 0; |
|
|
|
|
|
|
|
|
|
//判断包件是否已入库
|
|
|
|
|
DistributionParcelListEntity distributionParcelListEntity = distributionParcelListClient.findByPacketBarCodeAndWarehouseId(orderPackageCode, warehouseId); |
|
|
|
@ -6872,10 +6873,12 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl<TrunklineCarsL
|
|
|
|
|
BeanUtil.copy(nowParcelListEntity, distributionParcelListEntity); |
|
|
|
|
distributionParcelListEntity.setId(null); |
|
|
|
|
distributionParcelListEntity.setIsTransfer(1); |
|
|
|
|
isTransfer = 1; |
|
|
|
|
if (!Objects.isNull(warehouseWaybillEntity)) { |
|
|
|
|
Long destinationWarehouseId = warehouseWaybillEntity.getDestinationWarehouseId();//目的仓
|
|
|
|
|
if (destinationWarehouseId.equals(warehouseId)) { |
|
|
|
|
distributionParcelListEntity.setIsTransfer(0); |
|
|
|
|
isTransfer = 0; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
distributionParcelListEntity.setAdvanceId(nowParcelListEntity.getAdvanceId()); |
|
|
|
@ -6900,8 +6903,10 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl<TrunklineCarsL
|
|
|
|
|
Long destinationWarehouseId = warehouseWaybillEntity.getDestinationWarehouseId();//目的仓
|
|
|
|
|
if (destinationWarehouseId.equals(warehouseId)) { |
|
|
|
|
distributionParcelListEntity.setIsTransfer(0); |
|
|
|
|
isTransfer = 0; |
|
|
|
|
} else { |
|
|
|
|
distributionParcelListEntity.setIsTransfer(1); |
|
|
|
|
isTransfer = 1; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
distributionParcelListClient.update(distributionParcelListEntity); |
|
|
|
@ -7040,10 +7045,12 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl<TrunklineCarsL
|
|
|
|
|
BeanUtil.copy(parcelListEntity, distributionParcelListEntity); |
|
|
|
|
distributionParcelListEntity.setId(null); |
|
|
|
|
distributionParcelListEntity.setIsTransfer(1); |
|
|
|
|
isTransfer = 1; |
|
|
|
|
if (!Objects.isNull(warehouseWaybillEntity)) { |
|
|
|
|
Long destinationWarehouseId = warehouseWaybillEntity.getDestinationWarehouseId();//目的仓
|
|
|
|
|
if (destinationWarehouseId.equals(warehouseId)) { |
|
|
|
|
distributionParcelListEntity.setIsTransfer(0); |
|
|
|
|
isTransfer = 0; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
distributionParcelListEntity.setAdvanceId(parcelListEntity.getAdvanceId()); |
|
|
|
@ -7068,8 +7075,10 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl<TrunklineCarsL
|
|
|
|
|
Long destinationWarehouseId = warehouseWaybillEntity.getDestinationWarehouseId();//目的仓
|
|
|
|
|
if (destinationWarehouseId.equals(warehouseId)) { |
|
|
|
|
distributionParcelListEntity.setIsTransfer(0); |
|
|
|
|
isTransfer = 0; |
|
|
|
|
} else { |
|
|
|
|
distributionParcelListEntity.setIsTransfer(1); |
|
|
|
|
isTransfer = 1; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
distributionParcelListClient.update(distributionParcelListEntity); |
|
|
|
@ -7187,8 +7196,10 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl<TrunklineCarsL
|
|
|
|
|
Long destinationWarehouseId = warehouseWaybillEntity.getDestinationWarehouseId();//目的仓
|
|
|
|
|
if (destinationWarehouseId.equals(warehouseId)) { |
|
|
|
|
distributionParcelListEntity.setIsTransfer(0); |
|
|
|
|
isTransfer = 0; |
|
|
|
|
} else { |
|
|
|
|
distributionParcelListEntity.setIsTransfer(1); |
|
|
|
|
isTransfer = 1; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
distributionParcelListEntity.setWarehouseId(warehouseId); |
|
|
|
@ -7210,8 +7221,10 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl<TrunklineCarsL
|
|
|
|
|
Long destinationWarehouseId = warehouseWaybillEntity.getDestinationWarehouseId();//目的仓
|
|
|
|
|
if (destinationWarehouseId.equals(warehouseId)) { |
|
|
|
|
distributionParcelListEntity.setIsTransfer(0); |
|
|
|
|
isTransfer = 0; |
|
|
|
|
} else { |
|
|
|
|
distributionParcelListEntity.setIsTransfer(1); |
|
|
|
|
isTransfer = 1; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
distributionParcelListClient.update(distributionParcelListEntity); |
|
|
|
@ -7373,6 +7386,7 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl<TrunklineCarsL
|
|
|
|
|
String trayName = null; |
|
|
|
|
String trayCode = null; |
|
|
|
|
String orderCode = null; |
|
|
|
|
Integer isTransfer = 0; |
|
|
|
|
|
|
|
|
|
//判断包件是否已入库
|
|
|
|
|
DistributionParcelListEntity distributionParcelListEntity = distributionParcelListClient.findByPacketBarCodeAndWarehouseId(orderPackageCode, warehouseId); |
|
|
|
|