feat(flowable): 添加待办任务数量统计功能
在FlowQueryVo中新增category字段用于流程分类筛选 实现待办任务数量统计接口,支持按分类筛选统计
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user