| | |
| | | import com.ycl.platform.domain.form.ReportForm; |
| | | import com.ycl.platform.domain.query.ReportQuery; |
| | | import com.ycl.platform.domain.vo.ReportVO; |
| | | import com.ycl.platform.domain.vo.WorkOrderVO; |
| | | import com.ycl.platform.mapper.ReportMapper; |
| | | import com.ycl.platform.mapper.YwPeopleMapper; |
| | | import com.ycl.platform.mapper.YwPointMapper; |
| | |
| | | */ |
| | | @Override |
| | | public Result page(ReportQuery query) { |
| | | List<ReportVO> page = baseMapper.page(query); |
| | | return Result.ok().data(page).total(page.size()); |
| | | IPage<ReportVO> page = PageUtil.getPage(query, ReportVO.class); |
| | | baseMapper.page(page, query); |
| | | return Result.ok().data(page).total(page.getTotal()); |
| | | } |
| | | |
| | | /** |