bug尝试修复
This commit is contained in:
@@ -365,6 +365,17 @@ public class IndustryStepServiceImpl implements IIndustryStepService {
|
||||
industryMaterialService.updateIndustryMaterial(materialVo);
|
||||
}
|
||||
|
||||
// 此处处理为异常榨汁页面依然有异常料后需要将异常料改为状态4
|
||||
industryMaterialVo.setState(3L);
|
||||
industryMaterialVo.setBatchId(batchId);
|
||||
industryMaterialVo.setDelFlag(1L);
|
||||
List<IndustryMaterialVo> errorMaterialList = industryMaterialService.selectAbnormalList(industryMaterialVo);
|
||||
for (IndustryMaterialVo materialVo : errorMaterialList) {
|
||||
materialVo.setState(4L);
|
||||
materialVo.setOperation(0L);
|
||||
industryMaterialService.updateIndustryMaterial(materialVo);
|
||||
}
|
||||
|
||||
// 将该批次所有的道次的进行中置零
|
||||
IndustryStep industryStep = new IndustryStep();
|
||||
industryStep.setOperation(0L);
|
||||
|
||||
Reference in New Issue
Block a user