From 94dfe50082815fc68f4cdd7310481eb1965efbcf Mon Sep 17 00:00:00 2001 From: zhenghaoyu Date: Wed, 20 Sep 2023 14:28:00 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=95=86=E9=85=8D=E9=85=8D=E9=80=81=E5=8D=95?= =?UTF-8?q?=E9=80=BB=E8=BE=91=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/DistributionDeliveryListServiceImpl.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 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 adb4e12bd..6f87d12ea 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 @@ -3272,6 +3272,7 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl> categoryList = distributionReservationMapper.findAllCategoryNum(reservationId); //计算一个总计 Map total = new HashMap<>(); + Map totalDetail = new HashMap<>(); Integer totalNum = 0; for (Map m:categoryList){ Set set = m.keySet(); @@ -3285,10 +3286,10 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl> mapList = distributionReservationMapper.getCategoryByStockArticleIdAndReservationId(stockArticleId,reservationId); Map numObj = new HashMap<>(); Integer tn = 0; - Set set = total.keySet(); + Set set = totalDetail.keySet(); for (String key:set){ if(!"合计数量".equals(key)){ numObj.put(key,0);