修改
This commit is contained in:
parent
770f0f25b5
commit
d4738c4da3
@ -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){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user