@ApiOperation("查询在办任务列表")
@GetMapping("/index4")
public Result index4(Integer index,Integer size) {
if(index == null){
index = 1;
}
if(size == null){
size = 10;
}
Page<Object> objectPage = new Page<>(index, size);
IPage page =taskDoService.getTaskInProgress(objectPage);
return Result.ok(page);
}
dao层
IPage getTaskInProgress(Page<Object> objectPage);