This commit is contained in:
wulin 2020-11-05 18:21:33 +08:00
parent 770f0f25b5
commit d4738c4da3

View File

@ -157,14 +157,14 @@ public class FlowChartController {
flowChartDetailRecord.setEvaluationGroupId(flowChartDetailRecordListReq.getEvaluationGroupId());
flowChartDetailRecord.setStepIndex(index);
if(flowChartDetailRecord.getStepType() == null){//添加时默认没有设置步骤类型那么设置成一次
flowChartDetailRecord.setStepType(0);
}
flowChartDetailRecord.setStatus(flowChartDetailRecordListReq.getStatus());
if(flowChartDetailRecord.getId() != null && flowChartDetailRecord.getId().intValue() > 0){
updaes.add(flowChartDetailRecord);
}else{
if(flowChartDetailRecord.getStepType() == null){//添加时默认没有设置步骤类型那么设置成一次
flowChartDetailRecord.setStepType(0);
}
inserts.add(flowChartDetailRecord);
}
if(flowChartDetailRecord.getIsDelete() == null || flowChartDetailRecord.getIsDelete().intValue() == 0){