fix: 88295 外来标准法规文本库--标准解读--查询--涉及系统/部件选项没有下级建议去掉前方三角
This commit is contained in:
+5
@@ -97,6 +97,11 @@ public class PartNameServiceImpl extends ServiceImpl<PartNameMapper, PartName>
|
||||
topLevelNodes.add(node);
|
||||
}
|
||||
}
|
||||
|
||||
// Set leafFlag for each node
|
||||
for (PartName node : nodesCollection) {
|
||||
node.setLeafFlag(node.getChildPartNameList() == null || node.getChildPartNameList().isEmpty());
|
||||
}
|
||||
return topLevelNodes;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user