From 322f0dd9dc3f4e257b0f4a51c3def9d3eb25466f Mon Sep 17 00:00:00 2001 From: "pref_mail@163.com" Date: Thu, 4 Jan 2024 23:25:58 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=8E=92=E6=9F=A5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/DistributionAsyncServiceImpl.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionAsyncServiceImpl.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionAsyncServiceImpl.java index e757a7559..ba9d64cd0 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionAsyncServiceImpl.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionAsyncServiceImpl.java @@ -1841,11 +1841,16 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService { split, List distributionStockArticleEntities, String warehouseName, Long reservationId, String deliveryCode, Long warehouseId) { Map> packageList = new HashMap<>(); + + log.info(">>>> 构建复核签收订单的品牌信息0 {}", distributionStockArticleEntities); + Map> orderMap = distributionStockArticleEntities.stream().collect(Collectors.groupingBy(DistributionStockArticleEntity::getBrand)); for (String s : split) { orderMap.forEach((k, v) -> { - log.info(">>>> 构建复核签收订单的品牌信息 {}", k); - if (k.equals(s)) { + log.info(">>>> 构建复核签收订单的品牌信息1 {}", k); + log.info(">>>> 构建复核签收订单的品牌信息2 {}", s); + log.info(">>>> 构建复核签收订单的品牌信息3 {}", v); + if (k.trim().equals(s.trim())) { List mtReceiveContentDTOS = new ArrayList<>(); for (DistributionStockArticleEntity distributionStockArticleEntity : v) { List distributionParcelListEntities = distributionReservationMapper.selectPackageByReservationAndStockArticle(reservationId, distributionStockArticleEntity.getId(), warehouseId);