From c3a41230c2f671cdb248df3fa5b64a936e12a3e6 Mon Sep 17 00:00:00 2001 From: CeDo <cedoogle@gmail.com> Date: 星期四, 17 六月 2021 14:07:44 +0800 Subject: [PATCH] bugfixed: 党员人数纠错 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/BigScreenStatisticsApi.java | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/BigScreenStatisticsApi.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/BigScreenStatisticsApi.java index 369c863..6c2ac15 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/BigScreenStatisticsApi.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/BigScreenStatisticsApi.java @@ -18,20 +18,40 @@ @Resource private ComMngPopulationService comMngPopulationService; + /** + * 首页大屏统计接口 + * @param communityId 社区id + * @return 统计结果 + */ @GetMapping("/getScreenIndex") public R index(@RequestParam("communityId") Long communityId) { return R.ok(comMngPopulationService.getScreenIndex(communityId)); } + /** + * 事件大屏统计接口 + * @param communityId 社区id + * @return 统计结果 + */ @GetMapping("/getScreenEvent") public R event(@RequestParam("communityId") Long communityId) { return R.ok(comMngPopulationService.getScreenEvent(communityId)); } + /** + * 民生大屏统计接口 + * @param communityId 社区id + * @return 统计结果 + */ @GetMapping("/getScreenCivil") public R civil(@RequestParam("communityId") Long communityId) { return R.ok(comMngPopulationService.getScreenCivil(communityId)); } + @GetMapping("/getScreenGirds") + public R grids(@RequestParam("communityId") Long communityId) { + return R.ok(comMngPopulationService.getScreenGirds(communityId)); + } + } -- Gitblit v1.7.1