1、查询任务、算例树,bugfix
This commit is contained in:
@@ -616,7 +616,9 @@ public class ProjectServiceImpl extends BaseService implements IProjectService {
|
||||
List<NodeAllBase> workspaceNodeList = children.stream().filter(node -> NodeTypeEnum.WORKSPACE.getValue().equals(node.getNodeType())).collect(Collectors.toList());
|
||||
if (CollectionUtils.isEmpty(workspaceNodeList)) {
|
||||
for (NodeAllBase child : children) {
|
||||
sortWorkspaceNode((ProjectNodePo) child);
|
||||
if (child instanceof ProjectNodePo) {
|
||||
sortWorkspaceNode((ProjectNodePo) child);
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -616,7 +616,9 @@ public class SimulationRunServiceImpl extends ServiceImpl<SimulationRunMapper, S
|
||||
List<NodeAllBase> workspaceNodeList = children.stream().filter(node -> NodeTypeEnum.WORKSPACE.getValue().equals(node.getNodeType())).collect(Collectors.toList());
|
||||
if (CollectionUtils.isEmpty(workspaceNodeList)) {
|
||||
for (NodeAllBase child : children) {
|
||||
sortWorkspaceNode((ProjectNodePo) child);
|
||||
if (child instanceof ProjectNodePo) {
|
||||
sortWorkspaceNode((ProjectNodePo) child);
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user