diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionAsyncServiceImpl.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionAsyncServiceImpl.java index e61193d10..e56583838 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionAsyncServiceImpl.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionAsyncServiceImpl.java @@ -2975,6 +2975,7 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService { .eq(DistributionParcelNumberEntity::getStockArticleId,reservationZeroPackageEntity.getStockArticleId()) .setSql("delivery_quantity -", quantity) ); + zeroPackageService.updateById(reservationZeroPackageEntity); //状态回退包件一定处于可预约 orderIds.add(reservationZeroPackageEntity.getStockArticleId()); }