1 @Override 2 public CommonResult queryReportByCallCountInfos(ReportByCallVo reportByCallVo) { 3 PageHelper.startPage(reportByCallVo.getPageNum(), reportByCallVo.getPageSize()); 4 List<ReportByCallVo> list = sysUsageStatisticsMapper.queryReportByCallCountInfos(reportByCallVo); 5 PageInfo<ReportByCallVo> pageInfo = new PageInfo<>(list); 6 if(list!=null){ 7 return CommonResult.success(pageInfo); 8 }else { 9 return CommonResult.failed("查询异常"); 10 } 11 12 }
标签:CommonResult,list,reportByCallVo,PageHelper,案例,queryReportByCallCountInfos,使用,re From: https://www.cnblogs.com/qi-Blog/p/17927510.html