|
|
|
@ -6433,17 +6433,18 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl<Distrib
|
|
|
|
|
DistributionLoadscanEntity loadscanEntity = distributionLoadscanService.getOne(Wrappers.<DistributionLoadscanEntity>query().lambda().eq(DistributionLoadscanEntity::getDeliveryId, deliveryId).eq(DistributionLoadscanEntity::getReservationId, reservationId) |
|
|
|
|
.eq(DistributionLoadscanEntity::getPackageId, orderPackageId) |
|
|
|
|
.ne(DistributionLoadscanEntity::getScanStatus, LoadingStatusConstant.quxiao.getValue())); |
|
|
|
|
log.info("滞留取消任务条数", row); |
|
|
|
|
log.info("滞留取消任务条数:{}", row); |
|
|
|
|
|
|
|
|
|
if (row == 1) { |
|
|
|
|
//存在计划
|
|
|
|
|
|
|
|
|
|
//进行了一条包件任务的取消,此时就应该对预约、配送任务进行数量的维护
|
|
|
|
|
distributionAsyncService.checkRetentionReservationAndDeliveryInfo(reservationId, deliveryId); |
|
|
|
|
} else { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//包件未预约 处于异常驳回状态
|
|
|
|
|
//查询异常信息,对异常信息进行清理
|
|
|
|
|
log.info("滞留查询审核列表信息", row); |
|
|
|
|
log.info("滞留查询审核列表信息:{}", row); |
|
|
|
|
|
|
|
|
|
DistributionLoadscanAbnormalEntity abnormalEntity = distributionLoadscanAbnormalService.getOne(Wrappers.<DistributionLoadscanAbnormalEntity>query().lambda() |
|
|
|
|
.eq(DistributionLoadscanAbnormalEntity::getPackageId, orderPackageId) |
|
|
|
@ -6458,7 +6459,7 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl<Distrib
|
|
|
|
|
log.error(">>>>>>>>>>>>>>>查询异常信息错误:{}",orderPackageId); |
|
|
|
|
} |
|
|
|
|
//查询出多个包件信息
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (Func.isNotEmpty(loadscanEntity)) { |
|
|
|
|
//修改包件状态 达到回库的状态
|
|
|
|
|
DistributionParcelListEntity parcelListEntity = distributionParcelListService.getById(loadscanEntity.getPackageId()); |
|
|
|
|