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());