refactor(工作流流程): 新增读取xml文件接口,替换原流程定义中的接口。

This commit is contained in:
konbai
2022-10-16 02:40:59 +08:00
parent 5720cd93ab
commit 5eeac80ea8
5 changed files with 39 additions and 3 deletions

View File

@@ -73,6 +73,15 @@ public class WfProcessController extends BaseController {
}
/**
* 读取xml文件
* @param processDefId 流程定义ID
*/
@GetMapping("/bpmnXml/{processDefId}")
public R<String> getBpmnXml(@PathVariable(value = "processDefId") String processDefId) {
return R.ok(null, processService.queryBpmnXmlById(processDefId));
}
/**
* 查询流程详情信息
*