Browse Source

修改备货定制品报错

pull/1/head
pref_mail@163.com 10 months ago
parent
commit
3b75a579a3
  1. 7
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockupServiceImpl.java

7
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockupServiceImpl.java

@ -2814,9 +2814,12 @@ public class DistributionStockupServiceImpl extends BaseServiceImpl<Distribution
// AtomicReference<Integer> s = new AtomicReference<>(0); //已扫数量
v.stream().forEach(i -> {
DistributionParcelListEntity byId = distributionParcelListService.getById(i.getAssociationId());
if (!vo.getStockArticleId().contains(byId.getStockArticleId().toString())) {
f.set(false);
if(ObjectUtils.isNotNull(byId)){
if (!vo.getStockArticleId().contains(byId.getStockArticleId().toString())) {
f.set(false);
}
}
});
});

Loading…
Cancel
Save