From c79126d511b13e9867d10fc18b75586e50e23811 Mon Sep 17 00:00:00 2001 From: "pref_mail@163.com" Date: Wed, 3 Jan 2024 19:05:20 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9=E5=93=81=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E4=B8=8D=E5=87=BA=E6=9D=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 | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 cc9b97f9f..3129d608f 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 @@ -1477,17 +1477,30 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService { Map> brand = null; + log.info(">>>brand {} ",brand); List distributionReservationStockarticleEntities = distributionReservationMapper.selectStockArticleByReservationId(distributionReservationEntity.getId()); + log.info(">>>brand distributionReservationStockarticleEntities 长度 {} ",distributionReservationStockarticleEntities.size()); if (Func.isNotEmpty(distributionReservationStockarticleEntities)) { + log.info(">>>brand 进入 长度 {} ",distributionReservationStockarticleEntities); + + //存在订单 List orderIds = distributionReservationStockarticleEntities.stream().filter(f -> f.getIsZero().equals(IsOrNoConstant.no.getValue())).map(DistributionReservationStockarticleEntity::getStockArticleId).collect(Collectors.toList()); + + log.info(">>>brand 进入 orderIds {} ",orderIds); + List distributionStockArticleEntities = distributionStockArticleService.listByIds(orderIds); + log.info(">>>brand 进入 distributionStockArticleEntities {} ",distributionStockArticleEntities); if (Func.isNotEmpty(distributionStockArticleEntities)) { String[] split = Func.split(brands, ","); + log.info(">>>brand 进入 split {} ",split); + //包件信息列表 brand = handkeBrandsPackageList(split, distributionStockArticleEntities, warehouseName, distributionReservationEntity.getId(), distributionDeliveryListEntity.getOrderCode(), warehouseId); } + log.info(">>>brand 进入 {} ",brand); + } //签收图片信息