1、修改getTaskRunTree接口
This commit is contained in:
@@ -176,8 +176,8 @@ public class SimulationRunServiceImpl extends ServiceImpl<SimulationRunMapper, S
|
||||
String tag6 = eachNode.getTag6();
|
||||
String tag7 = eachNode.getTag7();
|
||||
String tag8 = eachNode.getTag8();
|
||||
String tag9 = eachNode.getTag9();
|
||||
String tag10 = eachNode.getTag10();
|
||||
// String tag9 = eachNode.getTag9();
|
||||
// String tag10 = eachNode.getTag10();
|
||||
int currentNodeDepth = 0;
|
||||
if (StringUtils.isNotBlank(tag1) && !tag1.equals("null")) {
|
||||
currentNodeDepth += tag1.split(",").length;
|
||||
@@ -203,12 +203,12 @@ public class SimulationRunServiceImpl extends ServiceImpl<SimulationRunMapper, S
|
||||
if (StringUtils.isNotBlank(tag8) && !tag8.equals("null")) {
|
||||
currentNodeDepth += tag8.split(",").length;
|
||||
}
|
||||
if (StringUtils.isNotBlank(tag9) && !tag9.equals("null")) {
|
||||
currentNodeDepth += tag9.split(",").length;
|
||||
}
|
||||
if (StringUtils.isNotBlank(tag10) && !tag10.equals("null")) {
|
||||
currentNodeDepth += tag10.split(",").length;
|
||||
}
|
||||
// if (StringUtils.isNotBlank(tag9) && !tag9.equals("null")) {
|
||||
// currentNodeDepth += tag9.split(",").length;
|
||||
// }
|
||||
// if (StringUtils.isNotBlank(tag10) && !tag10.equals("null")) {
|
||||
// currentNodeDepth += tag10.split(",").length;
|
||||
// }
|
||||
return currentNodeDepth;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user