From 4f77b1921d4958bee3811886e177c31daf912d03 Mon Sep 17 00:00:00 2001 From: Kelvin Date: Thu, 19 Dec 2024 10:58:27 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=85=A5=E5=BA=93=E4=B9=8B?= =?UTF-8?q?=E5=90=8E=E5=8F=B0=E8=B4=A6=E6=9B=B4=E6=96=B0=E5=BA=93=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ktg/mes/wm/controller/WmsInTaskController.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmsInTaskController.java b/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmsInTaskController.java index de7336a..cb795fe 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmsInTaskController.java +++ b/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmsInTaskController.java @@ -249,6 +249,9 @@ public class WmsInTaskController extends BaseController { baseKnife.setKnifeFineState(1); // 状态为生效 baseKnife.setIsValid(0); + // 设置库位信息 + baseKnife.setAreaCode(wmStorageArea.getAreaCode()); + baseKnife.setAreaName(wmStorageArea.getAreaName()); // 更新台账状态 baseKnifeService.updateBaseKnife(baseKnife); }); @@ -266,6 +269,9 @@ public class WmsInTaskController extends BaseController { baseKnife.setKnifeFineState(1); // 状态为生效 baseKnife.setIsValid(0); + // 设置库位信息 + baseKnife.setAreaCode(wmStorageArea.getAreaCode()); + baseKnife.setAreaName(wmStorageArea.getAreaName()); // 更新台账状态 baseKnifeService.updateBaseKnife(baseKnife); });