|
|
@ -4405,7 +4405,7 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl<Distrib |
|
|
|
//查询配送任务的计划订单装车数
|
|
|
|
//查询配送任务的计划订单装车数
|
|
|
|
Integer packageLoadingNum = distributionLoadscanMapper.statisticsLoadingNum(distrilbutionloadingscanDTO.getDeliveryId()); |
|
|
|
Integer packageLoadingNum = distributionLoadscanMapper.statisticsLoadingNum(distrilbutionloadingscanDTO.getDeliveryId()); |
|
|
|
if (packageLoadingNum != 0) { |
|
|
|
if (packageLoadingNum != 0) { |
|
|
|
builder.append("装车" + packageLoadingNum + "件"); |
|
|
|
loadingCount += packageLoadingNum; |
|
|
|
} |
|
|
|
} |
|
|
|
Integer inventoryLoadingNum = 0; |
|
|
|
Integer inventoryLoadingNum = 0; |
|
|
|
if (distributionDeliveryListEntity.getType().equals(DistributionTypeConstant.shipie.getValue())) { |
|
|
|
if (distributionDeliveryListEntity.getType().equals(DistributionTypeConstant.shipie.getValue())) { |
|
|
@ -4417,7 +4417,10 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl<Distrib |
|
|
|
if (planCount.get() - loadingCount > 0) { |
|
|
|
if (planCount.get() - loadingCount > 0) { |
|
|
|
builder.append("未装" + (planCount.get() - packageLoadingNum - inventoryLoadingNum) + "件"); |
|
|
|
builder.append("未装" + (planCount.get() - packageLoadingNum - inventoryLoadingNum) + "件"); |
|
|
|
} |
|
|
|
} |
|
|
|
loadingCount += packageLoadingNum; |
|
|
|
if (loadingCount != 0){ |
|
|
|
|
|
|
|
builder.append("装车" + loadingCount + "件"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
//统计该配送任务的库存品装车数
|
|
|
|
//统计该配送任务的库存品装车数
|
|
|
|
Integer abnormalPackageLoadingNum = distributionLoadscanMapper.statisticsAbnormalLoadingNum(distrilbutionloadingscanDTO.getDeliveryId()); |
|
|
|
Integer abnormalPackageLoadingNum = distributionLoadscanMapper.statisticsAbnormalLoadingNum(distrilbutionloadingscanDTO.getDeliveryId()); |
|
|
|
if (abnormalPackageLoadingNum != 0) { |
|
|
|
if (abnormalPackageLoadingNum != 0) { |
|
|
|