|
|
|
@ -1934,11 +1934,13 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl<Distrib
|
|
|
|
|
HashSet<String> consigneeAddress = new HashSet<>(); |
|
|
|
|
//运单客户收货单位
|
|
|
|
|
HashSet<String> consignee = new HashSet<>(); |
|
|
|
|
//运单号
|
|
|
|
|
HashSet<String> waybillNo = new HashSet<>(); |
|
|
|
|
|
|
|
|
|
clientTotal.getAndIncrement(); |
|
|
|
|
if (Func.isEmpty(oldClient.get(k))) { |
|
|
|
|
DistributionReservationEntity reservationEntity = new DistributionReservationEntity(); |
|
|
|
|
reservationEntity.setWaybillNo(k); |
|
|
|
|
// reservationEntity.setWaybillNo(k);
|
|
|
|
|
reservationEntity.setReservationDate(reservationDate); |
|
|
|
|
reservationEntity.setReservationStatus(ReservationStatusConstant.daipeisong.getValue()); |
|
|
|
|
reservationEntity.setDeliveryType(DistributionTypeConstant.shangpei.getValue()); |
|
|
|
@ -1988,6 +1990,9 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl<Distrib
|
|
|
|
|
if (Func.isNotEmpty(s.getConsigneeAddress())) { |
|
|
|
|
consigneeAddress.add(s.getConsigneeAddress()); |
|
|
|
|
} |
|
|
|
|
if (Func.isNotEmpty(s.getWaybillNumber())) { |
|
|
|
|
waybillNo.add(s.getWaybillNumber()); |
|
|
|
|
} |
|
|
|
|
DistributionReservationStockarticleEntity reservationStockarticleEntity = new DistributionReservationStockarticleEntity(); |
|
|
|
|
//现在前端进行订单提交必然会携带包件信息
|
|
|
|
|
List<DistributionParcelListEntity> packageListInfo = s.getPackageListInfo(); |
|
|
|
@ -2101,6 +2106,9 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl<Distrib
|
|
|
|
|
if (Func.isNotEmpty(s.getServiceNumber())) { |
|
|
|
|
serviceNumber.add(s.getServiceNumber()); |
|
|
|
|
} |
|
|
|
|
if (Func.isNotEmpty(s.getWaybillNumber())) { |
|
|
|
|
waybillNo.add(s.getWaybillNumber()); |
|
|
|
|
} |
|
|
|
|
//此订单包件数量统计
|
|
|
|
|
AtomicInteger orderPackageNum = new AtomicInteger(); |
|
|
|
|
if (Func.isEmpty(oldOrder.get(s.getId()))) { |
|
|
|
|