|
|
|
@ -454,6 +454,7 @@ public class DistributionParcelListServiceImpl extends BaseServiceImpl<Distribut
|
|
|
|
|
} |
|
|
|
|
if (!list1.isEmpty()) { |
|
|
|
|
Set<Long> listString = new HashSet<>(); |
|
|
|
|
log.info("###############包件信息>>>>>>>>>>>>,{}",list1); |
|
|
|
|
list1.stream().collect(Collectors.groupingBy(DistributionParcelListEntity::getMaterialId)) |
|
|
|
|
.forEach((k, v) -> { |
|
|
|
|
int sum = v.stream().mapToInt(DistributionParcelListEntity::getQuantity).sum(); |
|
|
|
|