Browse Source

包件转库存品

pull/1/head
汤建军 10 months ago
parent
commit
b537331dce
  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