修复保存节点,考核指标等排序问题
This commit is contained in:
parent
c5b51dd21e
commit
2562b7c608
@ -121,7 +121,10 @@ public class FlowChartController {
|
||||
}else{
|
||||
inserts.add(flowChartDetailRecord);
|
||||
}
|
||||
index++;
|
||||
if(flowChartDetailRecord.getIsDelete() == null || flowChartDetailRecord.getIsDelete().intValue() == 0){
|
||||
index++;
|
||||
}
|
||||
|
||||
}
|
||||
if(inserts.size() > 0){
|
||||
flowChartDetailRecordService.insertFlowChartDetailRecords(inserts);
|
||||
|
||||
@ -108,8 +108,10 @@ public class ResultModelController {
|
||||
}else{
|
||||
inserts.add(resultTagetLib);
|
||||
}
|
||||
if(resultTagetLib.getIsDelete() == null || resultTagetLib.getIsDelete().intValue() == 0){
|
||||
libOrderBy++;
|
||||
}
|
||||
|
||||
libOrderBy++;
|
||||
}
|
||||
if(inserts.size() > 0){
|
||||
resultTagetLibService.insertResultTagetLibs(inserts);
|
||||
@ -117,7 +119,11 @@ public class ResultModelController {
|
||||
if(updates.size() > 0){
|
||||
resultTagetLibService.updateBatchById(updates);
|
||||
}
|
||||
resultModelOrderBy++;
|
||||
|
||||
if(resultModel.getIsDelete() == null || resultModel.getIsDelete().intValue() == 0){
|
||||
resultModelOrderBy++;
|
||||
}
|
||||
|
||||
}
|
||||
return R.ok();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user