修复bug
This commit is contained in:
@@ -176,6 +176,7 @@ public class IndustryMaterialController extends BaseController
|
||||
IndustryStep industryStep = new IndustryStep();
|
||||
industryStep.setStep(1L);
|
||||
industryStep.setDelFlag(0L);
|
||||
industryStep.setBatchId(industryMaterial.getBatchId());
|
||||
industryStepService.start(industryStep);
|
||||
return success(industryMaterialService.start(industryMaterial));
|
||||
}
|
||||
|
||||
@@ -672,6 +672,7 @@ public class IndustryStepServiceImpl implements IIndustryStepService {
|
||||
|
||||
@Override
|
||||
public void start(IndustryStep industryStep) {
|
||||
industryStep.setState(0L);
|
||||
List<IndustryStepVo> industryStepVos = industryStepMapper.selectIndustryStepList(industryStep);
|
||||
if (!industryStepVos.isEmpty()) {
|
||||
IndustryStepVo firstStep = industryStepVos.get(0);
|
||||
|
||||
Reference in New Issue
Block a user