保存流程节点是如果不传不走类型,默认设置为依次
This commit is contained in:
parent
35fdbd38c2
commit
a183e27678
@ -157,10 +157,14 @@ public class FlowChartController {
|
||||
|
||||
flowChartDetailRecord.setEvaluationGroupId(flowChartDetailRecordListReq.getEvaluationGroupId());
|
||||
flowChartDetailRecord.setStepIndex(index);
|
||||
|
||||
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