fix:算例下的流程节点创建文件夹不需要ownType

This commit is contained in:
2026-03-23 20:52:47 +08:00
parent 64e2eabce0
commit eeb5b8ffcb

View File

@@ -874,7 +874,7 @@ public class SimulationRunServiceImpl extends ServiceImpl<SimulationRunMapper, S
}
for (FlowNodeDto flowNodeDto : flowNodeDtoList) {
// 每个流程节点建立节点文件夹
SdmResponse nodeDirResponse = createDir(flowNodeDto.getUuid(), simulationRun.getUuid(), flowNodeDto.getNodeName(), DirTypeEnum.PROJECT_NODE_DIR.getValue(), NodeTypeEnum.FLOW_NODE.getValue());
SdmResponse nodeDirResponse = createDir(null, simulationRun.getUuid(), flowNodeDto.getNodeName(), DirTypeEnum.PROJECT_NODE_DIR.getValue(), null);
if (!nodeDirResponse.isSuccess()) {
log.error("创建节点文件夹失败:{}", nodeDirResponse.getMessage());
throw new RuntimeException("创建节点文件夹失败:" + nodeDirResponse.getMessage());