| | |
| | | * 门店积分统计 |
| | | */ |
| | | @GetMapping("/statistics") |
| | | @ApiModelProperty("门店积分统计") |
| | | @ApiModelProperty(value = "门店积分统计") |
| | | public R<ShopPointStatistics> statistics(ShopPoint shopPoint) { |
| | | ShopPointStatistics statistics = shopPointService.statistics(Page.of(shopPoint.getPageNum(), shopPoint.getPageSize()), shopPoint); |
| | | return R.ok(statistics); |
| | |
| | | * 导出门店积分统计 |
| | | */ |
| | | @GetMapping("/export") |
| | | @ApiModelProperty("导出门店积分统计") |
| | | @ApiModelProperty(value = "导出门店积分统计") |
| | | public void export(HttpServletResponse response , ShopPoint shopPoint) { |
| | | ShopPointStatistics statistics = shopPointService.statistics(Page.of(1, Integer.MAX_VALUE), shopPoint); |
| | | if (statistics!=null){ |