/**
* 查询列表数据
*/
@RequiresPermissions("report:reportShopBusiness:view")
@RequestMapping(value = "listData")
@ResponseBody
public Page<ReportShopBusiness> listData(ReportShopBusiness reportShopBusiness, HttpServletRequest request, HttpServletResponse response) {
Map<String,Object> countMapMap=reportShopBusinessDao.findCountForMap(reportShopBusiness);
reportShopBusiness.setPage(new Page<>(request, response));
Page<ReportShopBusiness> page = reportShopBusinessService.findPage(reportShopBusiness);
page.setOtherData(countMapMap);
return page;
}
<!--获取统计-->
<select id="findCountForMap" resultType="map">
SELECT
sum(a.shop_order_count) as shopOrderCount,
sum(a.shop_order_amount) as shopOrderAmount,
sum(a.real_user_pay_amount) as realUserPayAmount,
sum(a.shop_order_reserve_amount) as shopOrderReserveAmount,
sum(a.shop_reserve_amount) as shopReserveAmount,
jeesite4分页问题记录
最新推荐文章于 2020-08-07 19:59:46 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)