From 304e8b04854bb477b202048c21a98703267afbad Mon Sep 17 00:00:00 2001 From: huanghongfa <huanghongfa123456> Date: 星期三, 16 六月 2021 17:17:32 +0800 Subject: [PATCH] 大屏统计接口开发 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/BigScreenStatisticsApi.java | 15 +++++++++++++++ 1 files changed, 15 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..c81b788 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,16 +18,31 @@ @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)); -- Gitblit v1.7.1