From 243b5c395266a246b13504313d5438df6c591652 Mon Sep 17 00:00:00 2001 From: Stang <32996823@qq.com> Date: Wed, 13 Nov 2024 10:13:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=B0=E8=B4=A6=E7=8A=B6=E6=80=81=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ktg-admin/src/test/BaseKnifeTest.java | 4 ++-- ktg-mes/src/main/java/com/ktg/mes/config/BizConfig.java | 2 +- .../java/com/ktg/mes/md/controller/BaseKnifeController.java | 2 +- .../java/com/ktg/mes/wm/controller/WmsInTaskController.java | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ktg-admin/src/test/BaseKnifeTest.java b/ktg-admin/src/test/BaseKnifeTest.java index c69c14f..59ba249 100644 --- a/ktg-admin/src/test/BaseKnifeTest.java +++ b/ktg-admin/src/test/BaseKnifeTest.java @@ -46,7 +46,7 @@ public class BaseKnifeTest { baseKnife.setStandardQuantity("1"); baseKnife.setAreaCode("A0033"); baseKnife.setKnifeLife("100"); - baseKnife.setKnifeFineState(0); + baseKnife.setKnifeFineState(1); iBaseKnifeService.insertBaseKnife(baseKnife); } @@ -66,7 +66,7 @@ public class BaseKnifeTest { baseKnife.setStandardQuantity("1"); baseKnife.setAreaCode("A0055"); baseKnife.setKnifeLife("100"); - baseKnife.setKnifeFineState(0); + baseKnife.setKnifeFineState(1); iBaseKnifeService.updateBaseKnife(baseKnife); } diff --git a/ktg-mes/src/main/java/com/ktg/mes/config/BizConfig.java b/ktg-mes/src/main/java/com/ktg/mes/config/BizConfig.java index fa39d37..d83c6c4 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/config/BizConfig.java +++ b/ktg-mes/src/main/java/com/ktg/mes/config/BizConfig.java @@ -104,7 +104,7 @@ public class BizConfig { /* 根据库位编码获取台账列表 */ BaseKnife baseKnifeQuery = new BaseKnife(); baseKnifeQuery.setAreaCode(wmStorageArea.getAreaCode()); - baseKnifeQuery.setKnifeFineState(0); + baseKnifeQuery.setKnifeFineState(1); List baseKnifeList = baseKnifeMapper.selectBaseKnifeList(baseKnifeQuery); baseKnifeList.forEach(baseKnife -> { /* 获取无聊信息 */ diff --git a/ktg-mes/src/main/java/com/ktg/mes/md/controller/BaseKnifeController.java b/ktg-mes/src/main/java/com/ktg/mes/md/controller/BaseKnifeController.java index 9b78256..04f1831 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/md/controller/BaseKnifeController.java +++ b/ktg-mes/src/main/java/com/ktg/mes/md/controller/BaseKnifeController.java @@ -640,7 +640,7 @@ public class BaseKnifeController extends BaseController baseKnife.setSafeStock(mdItem.getMinStock()); baseKnife.setStandardQuantity("1"); baseKnife.setKnifeLife(100); - baseKnife.setKnifeFineState(0); + baseKnife.setKnifeFineState(1); // 判断是否需要锁定整刀 if (lockedFlag) { baseKnife.setIsLocked(1); 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 2ac3bfb..4d71ae6 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 @@ -174,7 +174,7 @@ public class WmsInTaskController extends BaseController { baseKnife.setStandardQuantity("1"); baseKnife.setKnifeLife(100); // 设置台账状态 入库 - baseKnife.setKnifeFineState(0); + baseKnife.setKnifeFineState(1); // 设置RFID baseKnife.setRfid(planDetailEntity.getRfid()); baseKnife.setPlanSheet(""); @@ -198,7 +198,7 @@ public class WmsInTaskController extends BaseController { baseKnife.setStandardQuantity("1"); baseKnife.setKnifeLife(100); // 设置台账状态 入库 - baseKnife.setKnifeFineState(0); + baseKnife.setKnifeFineState(1); baseKnife.setPlanSheet(""); baseKnife.setResetCount(mbbBdMrlMitm.getAttr1()); baseKnife.setItemOrProduct(mbbBdMrlMitm.getItemOrProduct());