From fe04402930fe373f6bd58ca5d4f7df62d7671527 Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期一, 07 六月 2021 15:45:12 +0800
Subject: [PATCH] app统计模块

---
 springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/grid/GridService.java |   67 +++++++++++++++++++++++++++++++++
 1 files changed, 67 insertions(+), 0 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/grid/GridService.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/grid/GridService.java
index d4a6152..834f913 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/grid/GridService.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/grid/GridService.java
@@ -6,6 +6,8 @@
 import org.springframework.cloud.openfeign.FeignClient;
 import org.springframework.web.bind.annotation.*;
 
+import java.util.List;
+
 /**
  *
  * @author cedoo email:cedoo(a)qq.com
@@ -622,6 +624,15 @@
     R queryPublicity(@RequestBody PagePublicityEventDTO pagePublicityEventDTO);
 
     /**
+     * 分页查询宣传教育事件
+     * @param pagePublicityEventDTO   请求参数
+     * @return  结果
+     */
+    @PostMapping("/event/queryPublicityCommunity")
+    R queryPublicityCommunity(@RequestBody PagePublicityEventCommunityDTO pagePublicityEventDTO);
+
+
+    /**
      * 分页查询社区列表
      * @return  结果
      */
@@ -770,4 +781,60 @@
      */
     @PostMapping("/easy/admin/publicity")
     R easyPublicityByAdmin(@RequestBody ComActEasyPhotoEditAdminDTO photoHandleDTO);
+
+    /**
+     * 查询网格下所有网格员
+     * @param gridId
+     * @return
+     */
+    @PostMapping("/eventgriddata/grid/member")
+    R getGridMemberListsByGrid(@RequestParam("gridId") Long gridId);
+
+    /**
+     * 查询网格下所有网格员
+     * @param communityId
+     * @return
+     */
+    @PostMapping("/eventgriddata/communitygrid")
+    R getGridDataListByCommunity(@RequestParam("gridId") Long communityId);
+
+    /**
+     * 后台管理-统计模块
+     * @param communityId   社区id
+     * @return  统计信息
+     */
+    @GetMapping("/statistics/admin/eventStatistics")
+    R eventStatistics(@RequestParam("communityId") Long communityId);
+
+    /**
+     * 后台管理-删除网格
+     * @param Ids   网格id集合
+     * @return  删除结果
+     */
+    @PostMapping("/eventgriddata/data/delete")
+    R deleteGridData(@RequestBody List<Long> Ids);
+
+    /**
+     * 后台管理-网格员统计
+     * @param statisticsAdminDTO    请求参数
+     * @return  网格员统计信息
+     */
+    @PostMapping("/statistics/admin/gridMemberStatistics")
+    R gridMemberStatistics(@RequestBody MemberStatisticsAdminDTO statisticsAdminDTO);
+
+    /**
+     * 根据网格id查询网格统计数据
+     * @param gridId    网格id
+     * @return  网格统计数据
+     */
+    @PostMapping("/statistics/getGridEventStatistics")
+    R getGridEventStatisticsByApp(@RequestParam("gridId") Long gridId);
+
+    /**
+     * 查询网格事件统计数据
+     * @param statisticsDTO 请求参数
+     * @return  网格事件统计数据
+     */
+    @PostMapping("/statistics/event/getGridEventStatistics")
+    R getGridEventDetailStatisticsByApp(@RequestBody GridEventStatisticsDTO statisticsDTO);
 }

--
Gitblit v1.7.1