From ef3df8078bc6d347ed09a5f5f35fcecc4261896b Mon Sep 17 00:00:00 2001
From: 101captain <237651143@qq.com>
Date: 星期五, 10 十二月 2021 13:40:23 +0800
Subject: [PATCH] 12/10 大屏修改提交

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/BigScreenStatisticsApi.java |   19 +++++++++++++++++++
 1 files changed, 19 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 f4c3a66..7ec86af 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
@@ -2,6 +2,7 @@
 
 import javax.annotation.Resource;
 
+import com.panzhihua.service_community.service.BigScreenService;
 import org.springframework.web.bind.annotation.*;
 
 import com.panzhihua.common.model.dtos.community.bigscreen.BigScreenEventDTO;
@@ -18,6 +19,8 @@
 
     @Resource
     private ComMngPopulationService comMngPopulationService;
+    @Resource
+    private BigScreenService bigScreenService;
 
     /**
      * 首页大屏统计接口
@@ -87,4 +90,20 @@
         return R.ok(comMngPopulationService.indexInfo(communityId));
     }
 
+    /**
+     * 社区服务大屏数据分析接口
+     */
+    @GetMapping("/serviceData")
+    public R serviceData(@RequestParam("communityId")Long communityId){
+        return this.bigScreenService.serviceData(communityId);
+    }
+
+    /**
+     * 服务居民接口
+     */
+    @GetMapping("/serviceUser")
+    public R serviceUser(@RequestParam("communityId") Long communityId){
+        return this.bigScreenService.serviceUser(communityId);
+    }
+
 }

--
Gitblit v1.7.1