refactor: 入库之后台账更新库位
This commit is contained in:
parent
d8357ea130
commit
4f77b1921d
@ -249,6 +249,9 @@ public class WmsInTaskController extends BaseController {
|
|||||||
baseKnife.setKnifeFineState(1);
|
baseKnife.setKnifeFineState(1);
|
||||||
// 状态为生效
|
// 状态为生效
|
||||||
baseKnife.setIsValid(0);
|
baseKnife.setIsValid(0);
|
||||||
|
// 设置库位信息
|
||||||
|
baseKnife.setAreaCode(wmStorageArea.getAreaCode());
|
||||||
|
baseKnife.setAreaName(wmStorageArea.getAreaName());
|
||||||
// 更新台账状态
|
// 更新台账状态
|
||||||
baseKnifeService.updateBaseKnife(baseKnife);
|
baseKnifeService.updateBaseKnife(baseKnife);
|
||||||
});
|
});
|
||||||
@ -266,6 +269,9 @@ public class WmsInTaskController extends BaseController {
|
|||||||
baseKnife.setKnifeFineState(1);
|
baseKnife.setKnifeFineState(1);
|
||||||
// 状态为生效
|
// 状态为生效
|
||||||
baseKnife.setIsValid(0);
|
baseKnife.setIsValid(0);
|
||||||
|
// 设置库位信息
|
||||||
|
baseKnife.setAreaCode(wmStorageArea.getAreaCode());
|
||||||
|
baseKnife.setAreaName(wmStorageArea.getAreaName());
|
||||||
// 更新台账状态
|
// 更新台账状态
|
||||||
baseKnifeService.updateBaseKnife(baseKnife);
|
baseKnifeService.updateBaseKnife(baseKnife);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user