1、修改getTaskRunTree接口

This commit is contained in:
2026-02-06 11:21:48 +08:00
parent 396c7483b3
commit 932820c24f

View File

@@ -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;
}