增加节点面板查询
This commit is contained in:
parent
17ce1e6538
commit
1d2b3eea5d
@ -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);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user