jeesite4分页问题记录

/**
 * 查询列表数据
 */
@RequiresPermissions("report:reportShopBusiness:view")
@RequestMapping(value = "listData")
@ResponseBody
public Page listData(ReportShopBusiness reportShopBusiness, HttpServletRequest request, HttpServletResponse response) {
    Map countMapMap=reportShopBusinessDao.findCountForMap(reportShopBusiness);
	reportShopBusiness.setPage(new Page<>(request, response));
	Page page = reportShopBusinessService.findPage(reportShopBusiness);
    page.setOtherData(countMapMap);
	return page;
}






	

你可能感兴趣的:(Jeesite4专题)