|
|
@ -3295,7 +3295,7 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl<Distrib |
|
|
|
if (Func.isEmpty(list)) { |
|
|
|
if (Func.isEmpty(list)) { |
|
|
|
log.error("###########################预约包件查询错误:{}", list); |
|
|
|
log.error("###########################预约包件查询错误:{}", list); |
|
|
|
log.error("###########################查询错误预约Id:{}", reservationEntity.getId()); |
|
|
|
log.error("###########################查询错误预约Id:{}", reservationEntity.getId()); |
|
|
|
throw new RuntimeException(reservationEntity.getId()+"订单信息错误:"+s.getId()); |
|
|
|
throw new RuntimeException(s.getOrderCode()+"订单信息错误"); |
|
|
|
} |
|
|
|
} |
|
|
|
//list 对这个集合 按照getParceListId 进行分组
|
|
|
|
//list 对这个集合 按照getParceListId 进行分组
|
|
|
|
Map<String, List<DistributionReservationPackageEntity>> oldPackageList = list.stream().collect(Collectors.groupingBy(DistributionReservationPackageEntity::getPacketBarCode)); |
|
|
|
Map<String, List<DistributionReservationPackageEntity>> oldPackageList = list.stream().collect(Collectors.groupingBy(DistributionReservationPackageEntity::getPacketBarCode)); |
|
|
|