|
|
|
@ -3578,6 +3578,7 @@ public class DistributionReservationServiceImpl extends BaseServiceImpl<Distribu
|
|
|
|
|
} |
|
|
|
|
String[] split = distributionCancelReservationPackageDTO.getPackageIds().split(","); |
|
|
|
|
List<DistributionParcelListEntity> distributionParcelListEntities = distributionReservationMapper.selectPackageListByReservationId(distributionCancelReservationPackageDTO.getReservationId()); |
|
|
|
|
String orderCodes = distributionParcelListEntities.stream().map(DistributionParcelListEntity::getOrderCode).distinct().collect(Collectors.joining(",")); |
|
|
|
|
for (String s : split) { |
|
|
|
|
if (Func.isNotEmpty(distributionParcelListEntities)){ |
|
|
|
|
List<DistributionParcelListEntity> cancelPackage = distributionParcelListEntities.stream().filter(p -> p.getId().equals(Long.parseLong(s))).collect(Collectors.toList()); |
|
|
|
@ -3605,6 +3606,7 @@ public class DistributionReservationServiceImpl extends BaseServiceImpl<Distribu
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
distributionStockArticleService.maintenanceOrderInfo(orderCodes,myCurrentWarehouse.getId()); |
|
|
|
|
//维护预约单状态
|
|
|
|
|
this.maintenanceReservationInfo(distributionCancelReservationPackageDTO.getReservationId()); |
|
|
|
|
//维护预约单数量
|
|
|
|
|