Browse Source

自提备货BUG修复

master
汤建军 8 months ago
parent
commit
128cb4b2e8
  1. 2
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockupServiceImpl.java

2
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockupServiceImpl.java

@ -3236,7 +3236,7 @@ public class DistributionStockupServiceImpl extends BaseServiceImpl<Distribution
if (!distributionStockListEntities.isEmpty()){ if (!distributionStockListEntities.isEmpty()){
if (distributionStockListEntities.stream().map(DistributionStockListEntity::getMarketId).distinct().collect(Collectors.toList()).size() == 1 && distributionStockListEntities.stream().map(DistributionStockListEntity::getMallName).distinct().collect(Collectors.toList()).size() == 1) { if (distributionStockListEntities.stream().map(DistributionStockListEntity::getMarketId).distinct().collect(Collectors.toList()).size() == 1 && distributionStockListEntities.stream().map(DistributionStockListEntity::getMallName).distinct().collect(Collectors.toList()).size() == 1) {
mallId = distributionStockListEntities.stream().map(DistributionStockListEntity::getMarketId).distinct().collect(Collectors.toList()).get(0); mallId = distributionStockListEntities.stream().map(DistributionStockListEntity::getMarketId).distinct().collect(Collectors.toList()).get(0);
mallName = distributionStockListEntities.stream().map(DistributionStockListEntity::getMallName).distinct().collect(Collectors.toList()).get(0); mallName = distributionStockListEntities.stream().map(DistributionStockListEntity::getMarketName).distinct().collect(Collectors.toList()).get(0);
}else { }else {
log.info(">>>>>>>>>>>>>>>>>>>>>>>>>>>>自提单错误库存品计划,多个商场信息reservationId:{}",reservationId); log.info(">>>>>>>>>>>>>>>>>>>>>>>>>>>>自提单错误库存品计划,多个商场信息reservationId:{}",reservationId);
log.info(">>>>>>>>>>>>>>>>>>>>>>>>>>>>自提单错误库存品计划,多个商场信息商场ID:{}",distributionStockListEntities.stream().map(DistributionStockListEntity::getMarketId).distinct().collect(Collectors.toList())); log.info(">>>>>>>>>>>>>>>>>>>>>>>>>>>>自提单错误库存品计划,多个商场信息商场ID:{}",distributionStockListEntities.stream().map(DistributionStockListEntity::getMarketId).distinct().collect(Collectors.toList()));

Loading…
Cancel
Save