feat(flowable): 添加待办任务数量统计功能

在FlowQueryVo中新增category字段用于流程分类筛选
实现待办任务数量统计接口,支持按分类筛选统计
This commit is contained in:
2026-04-01 14:29:27 +08:00
parent e78c34c94f
commit 6e4c089625
4 changed files with 50 additions and 0 deletions

View File

@@ -58,6 +58,12 @@ public class FlowTaskController {
return flowTaskService.todoList(queryVo);
}
@ApiOperation(value = "获取待办数量统计", response = Integer.class)
@GetMapping(value = "/todoCount")
public AjaxResult todoCount(FlowQueryVo queryVo) {
return flowTaskService.todoCount(queryVo);
}
@ApiOperation(value = "获取已办任务", response = FlowTaskDto.class)
@GetMapping(value = "/finishedList")
public AjaxResult finishedList(FlowQueryVo queryVo) throws Exception {