台账状态修改

This commit is contained in:
Stang 2024-11-13 10:13:43 +08:00
parent caf253f51e
commit 243b5c3952
4 changed files with 6 additions and 6 deletions

View File

@ -46,7 +46,7 @@ public class BaseKnifeTest {
baseKnife.setStandardQuantity("1"); baseKnife.setStandardQuantity("1");
baseKnife.setAreaCode("A0033"); baseKnife.setAreaCode("A0033");
baseKnife.setKnifeLife("100"); baseKnife.setKnifeLife("100");
baseKnife.setKnifeFineState(0); baseKnife.setKnifeFineState(1);
iBaseKnifeService.insertBaseKnife(baseKnife); iBaseKnifeService.insertBaseKnife(baseKnife);
} }
@ -66,7 +66,7 @@ public class BaseKnifeTest {
baseKnife.setStandardQuantity("1"); baseKnife.setStandardQuantity("1");
baseKnife.setAreaCode("A0055"); baseKnife.setAreaCode("A0055");
baseKnife.setKnifeLife("100"); baseKnife.setKnifeLife("100");
baseKnife.setKnifeFineState(0); baseKnife.setKnifeFineState(1);
iBaseKnifeService.updateBaseKnife(baseKnife); iBaseKnifeService.updateBaseKnife(baseKnife);
} }

View File

@ -104,7 +104,7 @@ public class BizConfig {
/* 根据库位编码获取台账列表 */ /* 根据库位编码获取台账列表 */
BaseKnife baseKnifeQuery = new BaseKnife(); BaseKnife baseKnifeQuery = new BaseKnife();
baseKnifeQuery.setAreaCode(wmStorageArea.getAreaCode()); baseKnifeQuery.setAreaCode(wmStorageArea.getAreaCode());
baseKnifeQuery.setKnifeFineState(0); baseKnifeQuery.setKnifeFineState(1);
List<BaseKnife> baseKnifeList = baseKnifeMapper.selectBaseKnifeList(baseKnifeQuery); List<BaseKnife> baseKnifeList = baseKnifeMapper.selectBaseKnifeList(baseKnifeQuery);
baseKnifeList.forEach(baseKnife -> { baseKnifeList.forEach(baseKnife -> {
/* 获取无聊信息 */ /* 获取无聊信息 */

View File

@ -640,7 +640,7 @@ public class BaseKnifeController extends BaseController
baseKnife.setSafeStock(mdItem.getMinStock()); baseKnife.setSafeStock(mdItem.getMinStock());
baseKnife.setStandardQuantity("1"); baseKnife.setStandardQuantity("1");
baseKnife.setKnifeLife(100); baseKnife.setKnifeLife(100);
baseKnife.setKnifeFineState(0); baseKnife.setKnifeFineState(1);
// 判断是否需要锁定整刀 // 判断是否需要锁定整刀
if (lockedFlag) { if (lockedFlag) {
baseKnife.setIsLocked(1); baseKnife.setIsLocked(1);

View File

@ -174,7 +174,7 @@ public class WmsInTaskController extends BaseController {
baseKnife.setStandardQuantity("1"); baseKnife.setStandardQuantity("1");
baseKnife.setKnifeLife(100); baseKnife.setKnifeLife(100);
// 设置台账状态 入库 // 设置台账状态 入库
baseKnife.setKnifeFineState(0); baseKnife.setKnifeFineState(1);
// 设置RFID // 设置RFID
baseKnife.setRfid(planDetailEntity.getRfid()); baseKnife.setRfid(planDetailEntity.getRfid());
baseKnife.setPlanSheet(""); baseKnife.setPlanSheet("");
@ -198,7 +198,7 @@ public class WmsInTaskController extends BaseController {
baseKnife.setStandardQuantity("1"); baseKnife.setStandardQuantity("1");
baseKnife.setKnifeLife(100); baseKnife.setKnifeLife(100);
// 设置台账状态 入库 // 设置台账状态 入库
baseKnife.setKnifeFineState(0); baseKnife.setKnifeFineState(1);
baseKnife.setPlanSheet(""); baseKnife.setPlanSheet("");
baseKnife.setResetCount(mbbBdMrlMitm.getAttr1()); baseKnife.setResetCount(mbbBdMrlMitm.getAttr1());
baseKnife.setItemOrProduct(mbbBdMrlMitm.getItemOrProduct()); baseKnife.setItemOrProduct(mbbBdMrlMitm.getItemOrProduct());