优化创建节点同时创建文件夹,记录节点的ownRootNodeUuid

This commit is contained in:
2025-11-10 09:24:14 +08:00
parent 1dc4693f96
commit 216316b9c4
7 changed files with 51 additions and 45 deletions

View File

@@ -1319,6 +1319,7 @@ public class ProjectServiceImpl extends BaseService implements IProjectService {
response = SdmResponse.failed("添加节点失败");
return response;
}
log.info("添加节点成功,项目根节点ownRootNodeUuid{}",ownRootNodeUuid);
projectNodeMap = projectNodeList.stream().collect(Collectors.groupingBy(
TaskNode::getUuid,
Collectors.collectingAndThen(