Browse Source

Merge branch 'dev' into pre-production

master
汤建军 11 months ago
parent
commit
21579a4cb6
  1. 1
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionParcelListServiceImpl.java

1
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionParcelListServiceImpl.java

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

Loading…
Cancel
Save