修复修复物料状态
This commit is contained in:
parent
67debb35c8
commit
058e9db114
@ -251,7 +251,7 @@ public class WmsZdTaskServiceImpl implements IWmsZdTaskService
|
|||||||
if (bomCount > 0) {
|
if (bomCount > 0) {
|
||||||
wmsBaseKnife.setZdTaskId(zdTask.getWmsZdTaskId());
|
wmsBaseKnife.setZdTaskId(zdTask.getWmsZdTaskId());
|
||||||
wmsBaseKnife.setIsLocked(1);
|
wmsBaseKnife.setIsLocked(1);
|
||||||
wmsBaseKnife.setKnifeFineState(1);
|
wmsBaseKnife.setKnifeFineState(2);
|
||||||
wmsBaseKnife.setLockedStartTime(technologyBom.getLockedStartTime());
|
wmsBaseKnife.setLockedStartTime(technologyBom.getLockedStartTime());
|
||||||
wmsBaseKnife.setLockedEndTime(technologyBom.getLockedEndTime());
|
wmsBaseKnife.setLockedEndTime(technologyBom.getLockedEndTime());
|
||||||
wmsBaseKnife.setParentId(baseKnife.getBaseKnifeId());
|
wmsBaseKnife.setParentId(baseKnife.getBaseKnifeId());
|
||||||
@ -521,7 +521,7 @@ public class WmsZdTaskServiceImpl implements IWmsZdTaskService
|
|||||||
}
|
}
|
||||||
|
|
||||||
String batchNum = "SCZBPC01";
|
String batchNum = "SCZBPC01";
|
||||||
// 出库任务,进行基础物料的出库
|
// 出库任务,进行整刀的出库
|
||||||
HashMap<Long, HashMap<String, List<BaseKnife>>> baseKnifeHashMapMap = new HashMap<>();
|
HashMap<Long, HashMap<String, List<BaseKnife>>> baseKnifeHashMapMap = new HashMap<>();
|
||||||
|
|
||||||
// 遍历构建map
|
// 遍历构建map
|
||||||
@ -534,6 +534,10 @@ public class WmsZdTaskServiceImpl implements IWmsZdTaskService
|
|||||||
|
|
||||||
// 对当前台账对象进行收录
|
// 对当前台账对象进行收录
|
||||||
baseKnifeHashMapMap.get(item.getMbbBdMrlId()).get(item.getAreaCode()).add(item);
|
baseKnifeHashMapMap.get(item.getMbbBdMrlId()).get(item.getAreaCode()).add(item);
|
||||||
|
|
||||||
|
// 修改出库状态
|
||||||
|
item.setKnifeFineState(2);
|
||||||
|
baseKnifeMapper.updateBaseKnife(item);
|
||||||
});
|
});
|
||||||
|
|
||||||
// 生成出库计划明细
|
// 生成出库计划明细
|
||||||
|
Loading…
Reference in New Issue
Block a user