diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockArticleServiceImpl.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockArticleServiceImpl.java index 913cdf6e3..4d8f1a3ed 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockArticleServiceImpl.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockArticleServiceImpl.java @@ -1610,9 +1610,13 @@ public class DistributionStockArticleServiceImpl extends BaseServiceImpl 0){ stockArticleEntity.setReservationStatus(OrderReservationStatusConstant.bufenyuyue.getValue()); } - signingQuantity = parcelNumberEntities.stream().mapToInt(DistributionParcelNumberEntity::getSigninQuantity).sum(); if (stockArticleEntity.getTotalNumber() == signingQuantity) { stockArticleEntity.setOrderStatus(OrderStatusConstant.qianshou.getValue()); } else if (stockArticleEntity.getTotalNumber() > signingQuantity) {