|
|
|
@ -221,7 +221,7 @@ public class DistributionReservationServiceImpl extends BaseServiceImpl<Distribu
|
|
|
|
|
//预约订单数量
|
|
|
|
|
AtomicInteger packageNum = new AtomicInteger(); |
|
|
|
|
List<DistributionParcelListEntity> packageList = s.getPackageList(); |
|
|
|
|
if (packageList.size() == 0) { |
|
|
|
|
if (Func.isEmpty(packageList)) { |
|
|
|
|
Map<String, Object> map = new HashMap<>(); |
|
|
|
|
map.put("stockArticleId", s.getId()); |
|
|
|
|
QueryWrapper<DistributionParcelListEntity> qw = Condition.getQueryWrapper(map, DistributionParcelListEntity.class); |
|
|
|
@ -1019,7 +1019,7 @@ public class DistributionReservationServiceImpl extends BaseServiceImpl<Distribu
|
|
|
|
|
// tripartiteEntity.setReservationIds(reservationIds);
|
|
|
|
|
tripartiteEntity.setDeliveryId(distributionDeliveryListEntity.getId()); |
|
|
|
|
distributionDeliveryTripartiteService.save(tripartiteEntity); |
|
|
|
|
distributionDeliveryListEntity.setKind(ServiceConstant.DELIVERLIST_KIND_TRIPARTITE); |
|
|
|
|
distributionDeliveryListEntity.setKind(ServiceConstant.DELIVERLIST_KIND_SELF); |
|
|
|
|
distributionDeliveryListEntity.setDriverName(tripartiteEntity.getDriverName()); |
|
|
|
|
distributionDeliveryListEntity.setVehicleName(tripartiteEntity.getVehicleNum()); |
|
|
|
|
distributionDeliveryListEntity.setDistributionCompany(tripartite.getDistributionCompany()); |
|
|
|
|