From 2da8de25fac604c64ce8884c2586e331f4244977 Mon Sep 17 00:00:00 2001 From: PigBaoBei <2739175034@qq.com> Date: Mon, 22 Jul 2024 23:02:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88=E8=87=AA=E6=8F=90=E9=9B=B6?= =?UTF-8?q?=E6=8B=85=E8=AE=A2=E5=8D=95BUG=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../distribution/service/impl/DistributionAsyncServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 9ec86f526..deaa58f1a 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 @@ -2971,9 +2971,9 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService { reservationZeroPackageEntity.setZeroPackageStatus(ReservationPackageStatusConstant.quxiao.getValue()); Integer quantity = reservationZeroPackageEntity.getQuantity(); distributionParcelNumberService.update(Wrappers.update().lambda() + .setSql("delivery_quantity -", quantity) .eq(DistributionParcelNumberEntity::getParcelListId,reservationZeroPackageEntity.getParcelListId()) .eq(DistributionParcelNumberEntity::getStockArticleId,reservationZeroPackageEntity.getStockArticleId()) - .setSql("delivery_quantity -", quantity) ); zeroPackageService.updateById(reservationZeroPackageEntity); //状态回退包件一定处于可预约