提交 6bb6c231 编写于 作者: zhouweidong's avatar zhouweidong

动态工作流

上级 c2c8cc4f
......@@ -121,7 +121,7 @@ public class DynamicModelConfigExService extends DynamicModelConfigServiceImpl {
List<Map<String, Object>> workflow = searchWorkFlow(publishFile.getPath());
//部署流程
if (workflow.size() > 0) {
//wfClient.deployBpmnFile(workflow);
wfClient.deployBpmnFile(workflow);
}
//发送redis广播
Map<String, Object> message = new HashMap<>();
......@@ -216,7 +216,7 @@ public class DynamicModelConfigExService extends DynamicModelConfigServiceImpl {
if (!ObjectUtils.isEmpty(subModels)) {
models.addAll(subModels);
}
} else if (subFile.isFile() && (subFile.getName().equalsIgnoreCase("PSWFVERSION.json.bpm"))) {
} else if (subFile.isFile() && (subFile.getName().equalsIgnoreCase("PSWFVERSION.json.bpmn"))) {
InputStream file = null;
try {
file = new FileInputStream(subFile);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册