|
|
@ -6440,6 +6440,8 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl<Distrib |
|
|
|
DistributionLoadscanEntity loadscanEntity = distributionLoadscanService.getOne(Wrappers.<DistributionLoadscanEntity>query().lambda().eq(DistributionLoadscanEntity::getDeliveryId, deliveryId).eq(DistributionLoadscanEntity::getReservationId, reservationId) |
|
|
|
DistributionLoadscanEntity loadscanEntity = distributionLoadscanService.getOne(Wrappers.<DistributionLoadscanEntity>query().lambda().eq(DistributionLoadscanEntity::getDeliveryId, deliveryId).eq(DistributionLoadscanEntity::getReservationId, reservationId) |
|
|
|
.eq(DistributionLoadscanEntity::getPackageId, orderPackageId) |
|
|
|
.eq(DistributionLoadscanEntity::getPackageId, orderPackageId) |
|
|
|
.ne(DistributionLoadscanEntity::getScanStatus, LoadingStatusConstant.quxiao.getValue())); |
|
|
|
.ne(DistributionLoadscanEntity::getScanStatus, LoadingStatusConstant.quxiao.getValue())); |
|
|
|
|
|
|
|
log.info("滞留取消任务条数", row); |
|
|
|
|
|
|
|
|
|
|
|
if (row == 1) { |
|
|
|
if (row == 1) { |
|
|
|
//存在计划
|
|
|
|
//存在计划
|
|
|
|
|
|
|
|
|
|
|
@ -6448,10 +6450,14 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl<Distrib |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
//包件未预约 处于异常驳回状态
|
|
|
|
//包件未预约 处于异常驳回状态
|
|
|
|
//查询异常信息,对异常信息进行清理
|
|
|
|
//查询异常信息,对异常信息进行清理
|
|
|
|
|
|
|
|
log.info("滞留查询审核列表信息", row); |
|
|
|
|
|
|
|
|
|
|
|
DistributionLoadscanAbnormalEntity abnormalEntity = distributionLoadscanAbnormalService.getOne(Wrappers.<DistributionLoadscanAbnormalEntity>query().lambda() |
|
|
|
DistributionLoadscanAbnormalEntity abnormalEntity = distributionLoadscanAbnormalService.getOne(Wrappers.<DistributionLoadscanAbnormalEntity>query().lambda() |
|
|
|
.eq(DistributionLoadscanAbnormalEntity::getPackageId, orderPackageId) |
|
|
|
.eq(DistributionLoadscanAbnormalEntity::getPackageId, orderPackageId) |
|
|
|
|
|
|
|
.eq(DistributionLoadscanAbnormalEntity::getDeliveryListId, deliveryId) |
|
|
|
.eq(DistributionLoadscanAbnormalEntity::getAuditingStatus, 3) |
|
|
|
.eq(DistributionLoadscanAbnormalEntity::getAuditingStatus, 3) |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
log.info("滞留查询审核列表信息:{}", abnormalEntity); |
|
|
|
if (!Objects.isNull(abnormalEntity)){ |
|
|
|
if (!Objects.isNull(abnormalEntity)){ |
|
|
|
//清理异常信息
|
|
|
|
//清理异常信息
|
|
|
|
distributionLoadscanAbnormalService.removeById(abnormalEntity); |
|
|
|
distributionLoadscanAbnormalService.removeById(abnormalEntity); |
|
|
|