|
|
|
@ -3756,8 +3756,10 @@ public class DistributionReservationServiceImpl extends BaseServiceImpl<Distribu
|
|
|
|
|
if (reservationEntity.getReservationNum() + reservationEntity.getReservationStockListNum() == 0){ |
|
|
|
|
DistributionReservationDTO distributionReservationDTO = new DistributionReservationDTO(); |
|
|
|
|
distributionReservationDTO.setId(reservationId); |
|
|
|
|
log.info("#################系统判定取消预约任务:{}",reservationEntity.getReservationCode()); |
|
|
|
|
distributionReservationDTO.setCancelReason("无效配送任务,系统取消"); |
|
|
|
|
this.cancelReservation(distributionReservationDTO); |
|
|
|
|
|
|
|
|
|
}else { |
|
|
|
|
this.updateById(reservationEntity); |
|
|
|
|
} |
|
|
|
|