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