From cd4251b2085b80a843a4b89ae8681a16a5d19287 Mon Sep 17 00:00:00 2001 From: PigBaoBei <2739175034@qq.com> Date: Mon, 6 May 2024 14:24:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=87=E8=B4=A7=E5=BA=93=E4=BD=8D=E4=B8=8A?= =?UTF-8?q?=E6=9E=B6=E3=80=81=E4=B8=8B=E6=9E=B6=E7=BB=B4=E6=8A=A4=E5=BA=93?= =?UTF-8?q?=E4=BD=8D=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/WarehouseUpdownStockupAreaServiceImpl.java | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/WarehouseUpdownStockupAreaServiceImpl.java b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/WarehouseUpdownStockupAreaServiceImpl.java index 66e3f0ffa..1ed0de94d 100644 --- a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/WarehouseUpdownStockupAreaServiceImpl.java +++ b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/WarehouseUpdownStockupAreaServiceImpl.java @@ -102,6 +102,7 @@ public class WarehouseUpdownStockupAreaServiceImpl extends BaseServiceImpl list = this.list(Wrappers.query().lambda() + .eq(WarehouseUpdownStockupAreaEntity::getAllocationId, stockUpAllocationId) + ); + if (list.isEmpty()){ + basicdataGoodsAllocationClient.updateAllocationStatus(Long.parseLong(stockUpAllocationId),"1"); + } } }