入职离职工作流基础架构搭建

This commit is contained in:
2025-02-24 18:48:42 +08:00
parent 46d601745f
commit f229565c36
7 changed files with 89 additions and 43 deletions

View File

@@ -221,6 +221,15 @@ public class WfProcessController extends BaseController {
return R.ok("流程启动成功",procInsId);
}
/**
* 根据流程定义id启动流程实例
*
*/
@PostMapping("/commonStart/{category}")
public R<String> startDemo(@PathVariable("category") String category) {
return R.ok("流程启动成功",processService.commonStart(category));
}
/**
* 删除流程实例
*