Browse Source

后端代码提交

training
kilo 1 year ago
parent
commit
a24c67a805
  1. 4
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionDeliveryListServiceImpl.java

4
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionDeliveryListServiceImpl.java

@ -1413,9 +1413,11 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl<Distrib
distributionReservationMapper.insert(distributionReservationEntity);
HashSet<String> orderCode = new HashSet<>();
HashSet<String> serviceNumber = new HashSet<>();
HashSet<String> mallName = new HashSet<>();
AtomicInteger packageTotal = new AtomicInteger();
v.forEach(s -> {
mallName.add(s.getMallName());
DistributionStockArticleDTO stockArticleDTO = Func.copy(s, DistributionStockArticleDTO.class);
List<DistributionParcelListEntity> packageListInfo = stockArticleDTO.getPackageListInfo();
AtomicInteger packageNum = new AtomicInteger();
@ -1451,7 +1453,7 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl<Distrib
distributionReservationEntity.setStockupStatus(ReservationStockupStatusConstant.daibeihuo.getValue());
distributionReservationEntity.setReservationStatus(ReservationStatusConstant.daipeisong.getValue());
distributionReservationEntity.setServiceNumber(String.join(",", serviceNumber));
distributionReservationEntity.setMallName(String.join(",",mallName));
distributionReservationMapper.updateById(distributionReservationEntity);
//建立这个预约和配送任务之间的关系
DistributionSignforEntity distributionSignforEntity = new DistributionSignforEntity();

Loading…
Cancel
Save