From ec9b95be63cc9fd1fb889bf9a4fd416e2686c847 Mon Sep 17 00:00:00 2001 From: PigBaoBei <2739175034@qq.com> Date: Wed, 6 Dec 2023 00:16:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E8=BD=A6=E8=AF=AD=E9=9F=B3=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/DistributionDeliveryListServiceImpl.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionDeliveryListServiceImpl.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionDeliveryListServiceImpl.java index 7cce0ed98..6f6e8d857 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionDeliveryListServiceImpl.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionDeliveryListServiceImpl.java @@ -4405,7 +4405,7 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl 0) { builder.append("未装" + (planCount.get() - packageLoadingNum - inventoryLoadingNum) + "件"); } - loadingCount += packageLoadingNum; + if (loadingCount != 0){ + builder.append("装车" + loadingCount + "件"); + + } //统计该配送任务的库存品装车数 Integer abnormalPackageLoadingNum = distributionLoadscanMapper.statisticsAbnormalLoadingNum(distrilbutionloadingscanDTO.getDeliveryId()); if (abnormalPackageLoadingNum != 0) {