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