Browse Source

备货扫描BUG修复

pre-production
汤建军 2 weeks ago
parent
commit
02fd59cc62
  1. 2
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionDeliveryListServiceImpl.java

2
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionDeliveryListServiceImpl.java

@ -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));

Loading…
Cancel
Save