|
|
|
@ -2029,8 +2029,10 @@ public class DistributionReservationServiceImpl extends BaseServiceImpl<Distribu
|
|
|
|
|
AtomicInteger orderTotal = new AtomicInteger(); |
|
|
|
|
//客户数量
|
|
|
|
|
AtomicInteger clientTotal = new AtomicInteger(); |
|
|
|
|
//客户数量
|
|
|
|
|
//包件数量
|
|
|
|
|
AtomicInteger deliveryPackageTotal = new AtomicInteger(); |
|
|
|
|
//库存品数量
|
|
|
|
|
AtomicInteger inventoryNub = new AtomicInteger(); |
|
|
|
|
//查询运单信息
|
|
|
|
|
//收货单位
|
|
|
|
|
Date date = new Date(); |
|
|
|
@ -2315,6 +2317,7 @@ public class DistributionReservationServiceImpl extends BaseServiceImpl<Distribu
|
|
|
|
|
reservationEntity.setReservationNum(packageTotal.get()); |
|
|
|
|
this.updateById(reservationEntity); |
|
|
|
|
deliveryPackageTotal.getAndAdd(reservationEntity.getReservationNum()); |
|
|
|
|
inventoryNub.getAndAdd(reservationEntity.getReservationStockListNum()); |
|
|
|
|
DistributionSignforEntity distributionSignforEntity = new DistributionSignforEntity(); |
|
|
|
|
distributionSignforEntity.setReservationId(reservationEntity.getId()); |
|
|
|
|
distributionSignforEntity.setTrainNumber(trainNumberMa); |
|
|
|
@ -2402,6 +2405,7 @@ public class DistributionReservationServiceImpl extends BaseServiceImpl<Distribu
|
|
|
|
|
// distributionDeliveryListEntity.setOrderCode(String.join(",", orderNumber));
|
|
|
|
|
distributionDeliveryListEntity.setOrderNumber(orderTotal.get()); |
|
|
|
|
distributionDeliveryListEntity.setDeliveryNumber(deliveryPackageTotal.get()); |
|
|
|
|
distributionDeliveryListEntity.setInventoryNub(inventoryNub.get()); |
|
|
|
|
distributionDeliveryListEntity.setNoteNumber(deliveryListMa()); |
|
|
|
|
distributionDeliveryListEntity.setCustomersNumber(clientTotal.get()); |
|
|
|
|
distributionDeliveryListEntity.setDeliveryListLoadingStatus(DeliveryLoadingStatusConstant.weizhuangche.getValue()); |
|
|
|
|