Commit 9a797cf1 by huangfusuper

发布工作流的时候保存工作流的内嵌层级

parent a99c4b7e
...@@ -208,6 +208,9 @@ public class ApiFlowServiceImpl implements ApiFlowService { ...@@ -208,6 +208,9 @@ public class ApiFlowServiceImpl implements ApiFlowService {
saveNode(pluginFlow.getNodeList(), flow, upFlowName); saveNode(pluginFlow.getNodeList(), flow, upFlowName);
} }
FlowExtendedConfiguration extendedConfiguration = pluginFlow.getConfig().getExtendedConfiguration(); FlowExtendedConfiguration extendedConfiguration = pluginFlow.getConfig().getExtendedConfiguration();
if(extendedConfiguration == null) {
extendedConfiguration = new FlowExtendedConfiguration();
}
extendedConfiguration.setFlowEmbedLogo(upFlowName); extendedConfiguration.setFlowEmbedLogo(upFlowName);
flow.setExtendedConfiguration(JSON.toJSONString(extendedConfiguration)); flow.setExtendedConfiguration(JSON.toJSONString(extendedConfiguration));
return flow; return flow;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment