Commit 58a1988a authored by maqing's avatar maqing

打卡分页

parent 57128127
...@@ -289,8 +289,8 @@ public class SrvOrganController { ...@@ -289,8 +289,8 @@ public class SrvOrganController {
*/ */
@GetMapping("/chSrvTaskDetailQuery") @GetMapping("/chSrvTaskDetailQuery")
public Result chSrvTaskDetailQuery(Integer pageNum, Integer pageSize,Long empId){ public Result chSrvTaskDetailQuery(Integer pageNum, Integer pageSize,Long empId){
Page<ChSrvTaskDetailVo> page = new Page<>(2, 10); Page<ChSrvTaskDetailVo> page = new Page<>(pageNum, pageSize);
page = srvOrganEmpService.chSrvTaskDetailQuery(page,6L); page = srvOrganEmpService.chSrvTaskDetailQuery(page,empId);
if(page.getSize()>0){ if(page.getSize()>0){
return Result.success(page); return Result.success(page);
}else { }else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment