增加节点面板查询

This commit is contained in:
dengqichen 2024-12-11 14:43:29 +08:00
parent 17ce1e6538
commit 1d2b3eea5d

View File

@ -71,7 +71,7 @@ public class WorkflowDefinitionServiceImpl extends BaseServiceImpl<WorkflowDefin
@Transactional(rollbackFor = Exception.class) @Transactional(rollbackFor = Exception.class)
public WorkflowDefinitionDTO saveWorkflowDesign(WorkflowDefinitionDTO dto) throws Exception { public WorkflowDefinitionDTO saveWorkflowDesign(WorkflowDefinitionDTO dto) throws Exception {
// 转换图形JSON为BPMN XML // 转换图形JSON为BPMN XML
String bpmnXml = bpmnConverter.convertToBpmnXml(dto.getGraphJson(), dto.getKey()); String bpmnXml = bpmnConverter.convertToBpmnXml(dto.getGraphConfig().toString(), dto.getKey());
dto.setFlowVersion(1); dto.setFlowVersion(1);
dto.setBpmnXml(bpmnXml); dto.setBpmnXml(bpmnXml);