| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.time.LocalDate; |
| | | import java.util.Map; |
| | | |
| | | @Slf4j |
| | |
| | | @GetMapping("todo-list") |
| | | @ApiOperationSupport(order = 3) |
| | | @Operation(summary = "待办任务", description = "传入流程信息") |
| | | public R<IPage<BladeFlow>> todoList(@Parameter(description = "关键字") String keyword, Query query) { |
| | | IPage<BladeFlow> pages = businessService.selectTodoPage(Condition.getPage(query), keyword); |
| | | public R<IPage<BladeFlow>> todoList(@Parameter(description = "关键字") String keyword, @Parameter(description = "创建时间开始") LocalDate createTimeBegin, @Parameter(description = "创建时间截止") LocalDate createTimeEnd, Query query) { |
| | | IPage<BladeFlow> pages = businessService.selectTodoPage(Condition.getPage(query), createTimeBegin,createTimeEnd,keyword); |
| | | return R.data(pages); |
| | | } |
| | | |
| | |
| | | @GetMapping("alltask-list") |
| | | @ApiOperationSupport(order = 3) |
| | | @Operation(summary = "所有任务(fortest)", description = "传入流程信息") |
| | | public R<IPage<BladeFlow>> alltaskList(@Parameter(description = "关键字") String keyword, Query query) { |
| | | public R<IPage<BladeFlow>> alltaskList(@Parameter(description = "关键字") String keyword,LocalDate createTimeBegin,LocalDate createTimeEnd, Query query) { |
| | | IPage<BladeFlow> pages = businessService.selectAllTaskPage(Condition.getPage(query), keyword); |
| | | return R.data(pages); |
| | | } |