From 11e5c5ff34de7da51ae105b4922115ce61f96610 Mon Sep 17 00:00:00 2001
From: CeDo <cedoogle@gmail.com>
Date: 星期一, 07 六月 2021 17:32:48 +0800
Subject: [PATCH] add:根据经纬度查询网格&& bugfixed

---
 springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/grid/GridService.java |   74 +++++++++++++++++++++++++++++++++++++
 1 files changed, 74 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 c831c90..8b20712 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
@@ -779,4 +781,76 @@
      */
     @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);
+
+    /**
+     * 批量删除
+     * @param eventDeleteDTO
+     * @return
+     */
+    @PostMapping("/event/deleteEventBatch")
+    R deleteEventBatch(@RequestBody EventDeleteDTO eventDeleteDTO);
+
+    /**
+     * 批量发布事件
+     * @param commonEventBatchRepublishDTO
+     * @return
+     */
+    @PostMapping("/event/batchRepublishEvent")
+    R batchRepublishEvent(@RequestBody CommonEventBatchRepublishDTO commonEventBatchRepublishDTO);
+
+    /**
+     * 批量事件标为无效
+     * @param eventBatchRevokeDTO
+     * @return
+     */
+    @PostMapping("/event/batchMarkInvalid")
+    R batchMarkEventInvalid(@RequestBody EventBatchRevokeDTO eventBatchRevokeDTO);
+
+    /**
+     * 批量事件标为无效
+     * @param pageEventGridNearbyDTO
+     * @return
+     */
+    @PostMapping("/event/grid/nearby")
+    R getNearByGrid(PageEventGridNearbyDTO pageEventGridNearbyDTO);
 }

--
Gitblit v1.7.1