|
|
|
@ -3196,13 +3196,14 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl<Distrib
|
|
|
|
|
|
|
|
|
|
DistributionDeliveryListEntity byId = this.getById(id); |
|
|
|
|
|
|
|
|
|
if(ObjectUtils.isNull(byId)){ |
|
|
|
|
throw new ServiceException("未找到相关数据"); |
|
|
|
|
} |
|
|
|
|
//查询这个配送下面的预约单
|
|
|
|
|
|
|
|
|
|
List<DistributionReservationEntity> distributionReservationEntityList = distributionReservationMapper.findByDeliveryId(byId.getId()); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(distributionReservationEntityList.isEmpty()){ |
|
|
|
|
throw new ServiceException("为找到相关数据"); |
|
|
|
|
throw new ServiceException("未找到相关数据"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
for (DistributionReservationEntity distributionReservationEntity : distributionReservationEntityList) { |
|
|
|
|