Browse Source

1.排查问题

single_db
pref_mail@163.com 1 year ago
parent
commit
322f0dd9dc
  1. 9
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionAsyncServiceImpl.java

9
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<DistributionStockArticleEntity> distributionStockArticleEntities, String warehouseName, Long
reservationId, String deliveryCode, Long warehouseId) {
Map<String, List<MtReceiveContentDTO>> packageList = new HashMap<>();
log.info(">>>> 构建复核签收订单的品牌信息0 {}", distributionStockArticleEntities);
Map<String, List<DistributionStockArticleEntity>> 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<MtReceiveContentDTO> mtReceiveContentDTOS = new ArrayList<>();
for (DistributionStockArticleEntity distributionStockArticleEntity : v) {
List<DistributionParcelListEntity> distributionParcelListEntities = distributionReservationMapper.selectPackageByReservationAndStockArticle(reservationId, distributionStockArticleEntity.getId(), warehouseId);

Loading…
Cancel
Save