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);