From bbda2ee1af4e86d76f93e00386d77efb56c60d5f Mon Sep 17 00:00:00 2001
From: puhanshu <a9236326>
Date: 星期六, 23 七月 2022 15:42:06 +0800
Subject: [PATCH] bug修改

---
 springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/grid/GridService.java |  996 ++++++++++++++++++++++++++++++++++++++++++++++++++++++----
 1 files changed, 925 insertions(+), 71 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 a7e388f..d2956e4 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
@@ -1,39 +1,34 @@
 package com.panzhihua.common.service.grid;
 
-import com.panzhihua.common.model.dtos.grid.*;
-import com.panzhihua.common.model.vos.*;
-import com.panzhihua.common.model.vos.grid.*;
+import java.util.List;
+
 import org.springframework.cloud.openfeign.FeignClient;
 import org.springframework.web.bind.annotation.*;
 
+import com.panzhihua.common.model.dtos.IdDTO;
+import com.panzhihua.common.model.dtos.community.bigscreen.event.ScreenDrawEventListDTO;
+import com.panzhihua.common.model.dtos.community.bigscreen.event.ScreenEventListDTO;
+import com.panzhihua.common.model.dtos.grid.*;
+import com.panzhihua.common.model.dtos.grid.admin.EventGridMemberCascadeAddDTO;
+import com.panzhihua.common.model.dtos.visit.EventVisitCompleteDTO;
+import com.panzhihua.common.model.query.visit.EventTasksQuery;
+import com.panzhihua.common.model.query.visit.EventVisitListQuery;
+import com.panzhihua.common.model.vos.R;
+import com.panzhihua.common.model.vos.grid.*;
+import com.panzhihua.common.model.vos.visit.EventVisitingTasksVO;
+
 /**
- *
  * @author cedoo email:cedoo(a)qq.com
  * @version 1.0
- * @since 1.0
  * @date 2021-05-26
- * */
+ * @since 1.0
+ */
 @FeignClient(name = "grid")
 public interface GridService {
 
     /**
-     * 新增事件
-     * @param eventAddDTO
-     * @return 新增结果
-     */
-    @PostMapping("/event/add")
-    R add(@RequestBody EventAddDTO eventAddDTO);
-
-    /**
-     * 修改事件
-     * @param eventEditDTO
-     * @return 维护结果
-     */
-    @PostMapping("/event/edit")
-    R edit(@RequestBody EventEditDTO eventEditDTO);
-
-    /**
      * 分页查找事件
+     *
      * @param pageEventDTO
      * @return 维护结果
      */
@@ -42,15 +37,18 @@
 
     /**
      * 删除事件
-     * @param eventDeleteDTO
+     *
+     * @param CommonEventDeleteDTO
      * @return 平台用户信息
      */
     @PostMapping("/event/delete")
-    R delete(@RequestBody EventDeleteDTO eventDeleteDTO);
+    R delete(@RequestBody CommonEventDeleteDTO CommonEventDeleteDTO);
 
     /**
      * 查询事件详细信息
-     * @param id 事件 id
+     * 
+     * @param id
+     *            事件 id
      * @return 查找结果
      */
     @PostMapping("/event/{id}")
@@ -58,22 +56,25 @@
 
     /**
      * 新增网格和网格员的关联关系
-     * @param eventGridMemberRelationAddDTO
+     * 
+     * @param eventGridMemberAddDTO
      * @return 新增结果
      */
     @PostMapping("/eventgridmemberrelation/add")
-    R add(@RequestBody EventGridMemberRelationAddDTO eventGridMemberRelationAddDTO);
+    R add(@RequestBody EventGridMemberAddDTO eventGridMemberAddDTO);
 
     /**
      * 修改网格和网格员的关联关系
-     * @param eventGridMemberRelationEditDTO
+     * 
+     * @param eventGridMemberEditDTO
      * @return 维护结果
      */
     @PostMapping("/eventgridmemberrelation/edit")
-    R edit(@RequestBody EventGridMemberRelationEditDTO eventGridMemberRelationEditDTO);
+    R edit(@RequestBody EventGridMemberEditDTO eventGridMemberEditDTO);
 
     /**
      * 分页查找网格和网格员的关联关系
+     * 
      * @param pageEventGridMemberRelationDTO
      * @return 维护结果
      */
@@ -82,6 +83,7 @@
 
     /**
      * 删除网格和网格员的关联关系
+     *
      * @param eventGridMemberRelationDeleteDTO
      * @return 平台用户信息
      */
@@ -90,15 +92,17 @@
 
     /**
      * 查询网格和网格员的关联关系详细信息
-     * @param id 网格和网格员的关联关系 id
+     *
+     * @param id
+     *            网格和网格员的关联关系 id
      * @return 查找结果
      */
     @PostMapping("/eventgridmemberrelation/{id}")
     R<EventGridMemberRelationDetailsVO> eventGridMemberRelationDetails(@PathVariable("id") Long id);
-	
-	
+
     /**
      * 新增网格员定时上报地理预警记录
+     * 
      * @param eventGridMemberWarnLogAddDTO
      * @return 新增结果
      */
@@ -107,6 +111,7 @@
 
     /**
      * 修改网格员定时上报地理预警记录
+     *
      * @param eventGridMemberWarnLogEditDTO
      * @return 维护结果
      */
@@ -115,6 +120,7 @@
 
     /**
      * 分页查找网格员定时上报地理预警记录
+     *
      * @param pageEventGridMemberWarnLogDTO
      * @return 维护结果
      */
@@ -123,6 +129,7 @@
 
     /**
      * 删除网格员定时上报地理预警记录
+     *
      * @param eventGridMemberWarnLogDeleteDTO
      * @return 平台用户信息
      */
@@ -131,15 +138,17 @@
 
     /**
      * 查询网格员定时上报地理预警记录详细信息
-     * @param id 网格员定时上报地理预警记录 id
+     *
+     * @param id
+     *            网格员定时上报地理预警记录 id
      * @return 查找结果
      */
     @PostMapping("/eventgridmemberwarnlog/{id}")
     R<EventGridMemberWarnLogDetailsVO> eventGridMemberWarnLogDetails(@PathVariable("id") Long id);
-	
-	
+
     /**
      * 新增重点人群记录
+     *
      * @param eventMainMemberAddDTO
      * @return 新增结果
      */
@@ -148,6 +157,7 @@
 
     /**
      * 修改重点人群记录
+     *
      * @param eventMainMemberEditDTO
      * @return 维护结果
      */
@@ -156,6 +166,7 @@
 
     /**
      * 分页查找重点人群记录
+     *
      * @param pageEventMainMemberDTO
      * @return 维护结果
      */
@@ -164,6 +175,7 @@
 
     /**
      * 删除重点人群记录
+     * 
      * @param eventMainMemberDeleteDTO
      * @return 平台用户信息
      */
@@ -172,15 +184,17 @@
 
     /**
      * 查询重点人群记录详细信息
-     * @param id 重点人群记录 id
+     * 
+     * @param id
+     *            重点人群记录 id
      * @return 查找结果
      */
     @PostMapping("/eventmainmember/{id}")
     R<EventMainMemberDetailsVO> eventMainMemberDetails(@PathVariable("id") Long id);
 
-
     /**
      * 新增事件或者走访中关联的图片音频和视频文件
+     * 
      * @param eventResourceAddDTO
      * @return 新增结果
      */
@@ -189,6 +203,7 @@
 
     /**
      * 修改事件或者走访中关联的图片音频和视频文件
+     * 
      * @param eventResourceEditDTO
      * @return 维护结果
      */
@@ -197,6 +212,7 @@
 
     /**
      * 分页查找事件或者走访中关联的图片音频和视频文件
+     * 
      * @param pageEventResourceDTO
      * @return 维护结果
      */
@@ -205,6 +221,7 @@
 
     /**
      * 删除事件或者走访中关联的图片音频和视频文件
+     * 
      * @param eventResourceDeleteDTO
      * @return 平台用户信息
      */
@@ -213,15 +230,17 @@
 
     /**
      * 查询事件或者走访中关联的图片音频和视频文件详细信息
-     * @param id 事件或者走访中关联的图片音频和视频文件 id
+     * 
+     * @param id
+     *            事件或者走访中关联的图片音频和视频文件 id
      * @return 查找结果
      */
     @PostMapping("/eventresource/{id}")
     R<EventResourceDetailsVO> eventResourceDetails(@PathVariable("id") Long id);
-	
-	
+
     /**
      * 新增事件处理流转记录
+     * 
      * @param eventTransferRecordAddDTO
      * @return 新增结果
      */
@@ -230,6 +249,7 @@
 
     /**
      * 修改事件处理流转记录
+     * 
      * @param eventTransferRecordEditDTO
      * @return 维护结果
      */
@@ -238,6 +258,7 @@
 
     /**
      * 分页查找事件处理流转记录
+     * 
      * @param pageEventTransferRecordDTO
      * @return 维护结果
      */
@@ -246,6 +267,7 @@
 
     /**
      * 删除事件处理流转记录
+     * 
      * @param eventTransferRecordDeleteDTO
      * @return 平台用户信息
      */
@@ -254,15 +276,17 @@
 
     /**
      * 查询事件处理流转记录详细信息
-     * @param id 事件处理流转记录 id
+     *
+     * @param id
+     *            事件处理流转记录 id
      * @return 查找结果
      */
     @PostMapping("/eventtransferrecord/{id}")
     R<EventTransferRecordDetailsVO> eventTransferRecordDetails(@PathVariable("id") Long id);
-	
-	
+
     /**
      * 新增重点人群走访记录
+     *
      * @param eventVisitingTasksAddDTO
      * @return 新增结果
      */
@@ -271,6 +295,7 @@
 
     /**
      * 修改重点人群走访记录
+     *
      * @param eventVisitingTasksEditDTO
      * @return 维护结果
      */
@@ -279,6 +304,7 @@
 
     /**
      * 分页查找重点人群走访记录
+     *
      * @param pageEventVisitingTasksDTO
      * @return 维护结果
      */
@@ -287,6 +313,7 @@
 
     /**
      * 删除重点人群走访记录
+     *
      * @param eventVisitingTasksDeleteDTO
      * @return 平台用户信息
      */
@@ -295,7 +322,9 @@
 
     /**
      * 查询重点人群走访记录详细信息
-     * @param id 重点人群走访记录 id
+     *
+     * @param id
+     *            重点人群走访记录 id
      * @return 查找结果
      */
     @PostMapping("/eventvisitingtasks/{id}")
@@ -303,6 +332,7 @@
 
     /**
      * 新增APP应用版本信息
+     *
      * @param eventApplicationAppReleaseAddDTO
      * @return 新增结果
      */
@@ -311,6 +341,7 @@
 
     /**
      * 修改APP应用版本信息
+     *
      * @param eventApplicationAppReleaseEditDTO
      * @return 维护结果
      */
@@ -319,6 +350,7 @@
 
     /**
      * 分页查找APP应用版本信息
+     *
      * @param pageEventApplicationAppReleaseDTO
      * @return 维护结果
      */
@@ -327,6 +359,7 @@
 
     /**
      * 删除APP应用版本信息
+     *
      * @param eventApplicationAppReleaseDeleteDTO
      * @return 平台用户信息
      */
@@ -335,7 +368,9 @@
 
     /**
      * 查询APP应用版本信息详细信息
-     * @param id APP应用版本信息 id
+     *
+     * @param id
+     *            APP应用版本信息 id
      * @return 查找结果
      */
     @PostMapping("/eventapplicationapprelease/{id}")
@@ -343,6 +378,7 @@
 
     /**
      * 新增用户协议和隐私政策信息
+     *
      * @param eventApplicationUserNoticeAddDTO
      * @return 新增结果
      */
@@ -351,6 +387,7 @@
 
     /**
      * 修改用户协议和隐私政策信息
+     *
      * @param eventApplicationUserNoticeEditDTO
      * @return 维护结果
      */
@@ -359,6 +396,7 @@
 
     /**
      * 分页查找用户协议和隐私政策信息
+     *
      * @param pageEventApplicationUserNoticeDTO
      * @return 维护结果
      */
@@ -367,6 +405,7 @@
 
     /**
      * 删除用户协议和隐私政策信息
+     *
      * @param eventApplicationUserNoticeDeleteDTO
      * @return 平台用户信息
      */
@@ -375,7 +414,9 @@
 
     /**
      * 查询用户协议和隐私政策信息详细信息
-     * @param id 用户协议和隐私政策信息 id
+     *
+     * @param id
+     *            用户协议和隐私政策信息 id
      * @return 查找结果
      */
     @PostMapping("/eventapplicationusernotice/{id}")
@@ -383,6 +424,7 @@
 
     /**
      * 新增区县/街道/社区/网格员网格数据管理
+     *
      * @param eventGridDataAddDTO
      * @return 新增结果
      */
@@ -391,6 +433,7 @@
 
     /**
      * 修改区县/街道/社区/网格员网格数据管理
+     *
      * @param eventGridDataEditDTO
      * @return 维护结果
      */
@@ -399,6 +442,7 @@
 
     /**
      * 分页查找区县/街道/社区/网格员网格数据管理
+     *
      * @param pageEventGridDataDTO
      * @return 维护结果
      */
@@ -407,6 +451,7 @@
 
     /**
      * 删除区县/街道/社区/网格员网格数据管理
+     *
      * @param eventGridDataDeleteDTO
      * @return 平台用户信息
      */
@@ -415,7 +460,9 @@
 
     /**
      * 查询区县/街道/社区/网格员网格数据管理详细信息
-     * @param id 区县/街道/社区/网格员网格数据管理 id
+     *
+     * @param id
+     *            区县/街道/社区/网格员网格数据管理 id
      * @return 查找结果
      */
     @PostMapping("/eventgriddata/{id}")
@@ -423,6 +470,7 @@
 
     /**
      * 新增网格员定时上报地理信息
+     *
      * @param eventGridMemberGpsLogAddDTO
      * @return 新增结果
      */
@@ -431,6 +479,7 @@
 
     /**
      * 修改网格员定时上报地理信息
+     *
      * @param eventGridMemberGpsLogEditDTO
      * @return 维护结果
      */
@@ -439,6 +488,7 @@
 
     /**
      * 分页查找网格员定时上报地理信息
+     *
      * @param pageEventGridMemberGpsLogDTO
      * @return 维护结果
      */
@@ -447,6 +497,7 @@
 
     /**
      * 删除网格员定时上报地理信息
+     *
      * @param eventGridMemberGpsLogDeleteDTO
      * @return 平台用户信息
      */
@@ -455,38 +506,44 @@
 
     /**
      * 查询网格员定时上报地理信息详细信息
-     * @param id 网格员定时上报地理信息 id
+     *
+     * @param id
+     *            网格员定时上报地理信息 id
      * @return 查找结果
      */
     @PostMapping("/eventgridmembergpslog/{id}")
     R<EventGridMemberGpsLogDetailsVO> eventGridMemberGpsLogDetails(@PathVariable("id") Long id);
 
     /**
-     * 添加突发事件
-     * @param emergenciesEventAddDTO
+     * 添加事件
+     *
+     * @param commonEventAddDTO
      * @return
      */
-    @PostMapping("/event/addEmergencies")
-    R addEmergencies(@RequestBody EmergenciesEventAddDTO emergenciesEventAddDTO);
+    @PostMapping("/event/addCommon")
+    R addCommon(@RequestBody CommonEventAddDTO commonEventAddDTO);
 
     /**
-     * 保存突发事件草稿
-     * @param emergenciesEventEditDTO
+     * 保存事件草稿
+     *
+     * @param commonEventEditDTO
      * @return
      */
-    @PostMapping("/event/saveEmergenciesDraft")
-    R saveEmergenciesDraft(@RequestBody EmergenciesEventEditDTO emergenciesEventEditDTO);
+    @PostMapping("/event/saveDraft")
+    R saveDraft(@RequestBody CommonEventEditDTO commonEventEditDTO);
 
     /**
      * 突发事件上报社区
-     * @param emergenciesEventReportDTO
+     *
+     * @param commonEventReportDTO
      * @return
      */
-    @PostMapping("/event/emergenciesReport")
-    R emergenciesReport(@RequestBody EmergenciesEventReportDTO emergenciesEventReportDTO);
+    @PostMapping("/event/report")
+    R report(@RequestBody CommonEventReportDTO commonEventReportDTO);
 
     /**
      * 突发事件撤销
+     *
      * @param eventRevokeDTO
      * @return
      */
@@ -494,7 +551,44 @@
     R emergenciesRevoke(@RequestBody EventRevokeDTO eventRevokeDTO);
 
     /**
+     * 处理事件
+     *
+     * @param commonEventDealDTO
+     * @return
+     */
+    @PostMapping("/event/dealEvent")
+    R dealEvent(@RequestBody CommonEventDealDTO commonEventDealDTO);
+
+    /**
+     * 处理事件
+     *
+     * @param commonEventVerifyDTO
+     * @return
+     */
+    @PostMapping("/event/verify")
+    R verifyEvent(@RequestBody CommonEventVerifyDTO commonEventVerifyDTO);
+
+    /**
+     * 处理事件
+     *
+     * @param commonEventRepublishDTO
+     * @return
+     */
+    @PostMapping("/event/republish")
+    R republishEvent(@RequestBody CommonEventRepublishDTO commonEventRepublishDTO);
+
+    /**
+     * 网格数据待处理统计信息
+     *
+     * @param eventGridStatisticsDataDTO
+     * @return
+     */
+    @PostMapping("/eventgriddata/getGridStatisticsdData")
+    R getGridStatisticsdData(@RequestBody EventGridStatisticsDataDTO eventGridStatisticsDataDTO);
+
+    /**
      * 查询用户网格
+     *
      * @param pageEventGridDataDTO
      * @return
      */
@@ -502,26 +596,786 @@
     R userGrid(@RequestBody PageEventGridDataDTO pageEventGridDataDTO);
 
     /**
-     * 处理事件
-     * @param eventDealDTO
+     * 特殊人员信息上报
+     *
+     * @param specialEventAddDTO
      * @return
      */
-    @PostMapping("/event/dealEvent")
-    R dealEvent(@RequestBody EventDealDTO eventDealDTO);
+    @PostMapping("/event/addSpecial")
+    R addSpecial(@RequestBody SpecialEventAddDTO specialEventAddDTO);
 
     /**
-     * 处理事件
-     * @param eventVerifyDTO
+     * 获取指定特殊人员信息
+     *
+     * @param idCard
      * @return
      */
-    @PostMapping("/event/verify")
-    R verifyEvent(@RequestBody EventVerifyDTO eventVerifyDTO);
+    @PostMapping("/event/getSpecialPopulation")
+    R getSpecialPopulation(String idCard);
 
     /**
-     * 处理事件
-     * @param eventRepublicDTO
+     * 保存殊人群事件上报草稿
+     *
+     * @param specialEventEditDTO
      * @return
      */
-    @PostMapping("/event/republish")
-    R republishEvent(@RequestBody EventRepublicDTO eventRepublicDTO);
+    @PostMapping("/event/saveSpecialDraft")
+    R saveSpecialDraft(@RequestBody SpecialEventEditDTO specialEventEditDTO);
+
+    /**
+     * 草稿发布
+     *
+     * @param commonEventPublicDTO
+     * @return
+     */
+    @PostMapping("/event/draftRelease")
+    R draftRelease(@RequestBody CommonEventPublicDTO commonEventPublicDTO);
+
+    /**
+     * 查询随手拍列表
+     *
+     * @param easyAppDTO
+     *            请求参数
+     * @return 随手拍列表
+     */
+    @PostMapping("/easy/list")
+    R easyList(@RequestBody PageEasyAppDTO easyAppDTO);
+
+    /**
+     * 查询随手拍详情
+     *
+     * @param easyId
+     *            随手拍id
+     * @return 随手拍详情
+     */
+    @PostMapping("/easy/detail")
+    R easyDetailByApp(@RequestParam("easyId") Long easyId);
+
+    /**
+     * 查询随手拍类型列表
+     *
+     * @return 类型列表
+     */
+    @PostMapping("/easy/type/list")
+    R easyTypeListByApp();
+
+    /**
+     * 随手拍处理
+     *
+     * @param photoHandleDTO
+     *            请求参数
+     * @return 处理结果
+     */
+    @PostMapping("/easy/handle")
+    R easyHandle(@RequestBody ComActEasyPhotoHandleDTO photoHandleDTO);
+
+    /**
+     * 随手拍公示状态切换
+     *
+     * @param photoHandleDTO
+     *            请求参数
+     * @return 切换结果
+     */
+    @PostMapping("/easy/publicity")
+    R easyPublicity(@RequestBody ComActEasyPhotoHandleDTO photoHandleDTO);
+
+    /**
+     * 随手拍上报社区
+     *
+     * @param photoHandleDTO
+     *            请求参数
+     * @return 上报结果
+     */
+    @PostMapping("/easy/report")
+    R easyReport(@RequestBody ComActEasyPhotoHandleDTO photoHandleDTO);
+
+    /**
+     * 添加发布宣传教育事件
+     *
+     * @param publicityEventAddDTO
+     *            请求参数
+     * @return 添加发布结果
+     */
+    @PostMapping("/event/addPublicity")
+    R addPublicity(@RequestBody PublicityEventAddDTO publicityEventAddDTO);
+
+    /**
+     * 保存宣传教育事件草稿
+     *
+     * @param publicityEventEditDTO
+     *            请求参数
+     * @return 保存结果
+     */
+    @PostMapping("/event/savePublicityDraft")
+    R savePublicityDraft(@RequestBody PublicityEventEditDTO publicityEventEditDTO);
+
+    /**
+     * 分页查询宣传教育事件
+     *
+     * @param pagePublicityEventDTO
+     *            请求参数
+     * @return 结果
+     */
+    @PostMapping("/event/queryPublicity")
+    R queryPublicity(@RequestBody PagePublicityEventDTO pagePublicityEventDTO);
+
+    /**
+     * 分页查询宣传教育事件
+     *
+     * @param pagePublicityEventDTO
+     *            请求参数
+     * @return 结果
+     */
+    @PostMapping("/event/queryPublicityCommunity")
+    R queryPublicityCommunity(@RequestBody PagePublicityEventCommunityDTO pagePublicityEventDTO);
+
+    /**
+     * 分页查询社区列表
+     *
+     * @return 结果
+     */
+    @PostMapping("/event/actList")
+    R actList();
+
+    /**
+     * 地图模块-根据网格id查询网格详细信息
+     *
+     * @param gridId
+     *            网格id
+     * @return 网格详细信息
+     */
+    @PostMapping("/map/getGridDetail")
+    R getGridDetail(@RequestParam("gridId") Long gridId);
+
+    /**
+     * 地图模块-根据网格员id查询今日运动轨迹
+     *
+     * @param userId
+     *            网格员id
+     * @return 运动轨迹
+     */
+    @PostMapping("/map/getTrajectoryByApp")
+    R getTrajectoryByApp(@RequestParam("userId") Long userId);
+
+    /**
+     * 地图模块-根据网格员id查询关联网格列表
+     *
+     * @param userId
+     *            网格员id
+     * @return 网格列表
+     */
+    @PostMapping("/map/getMapGridListByApp")
+    R getMapGridListByApp(@RequestParam("userId") Long userId);
+
+    /**
+     * 获取最新版本信息
+     *
+     * @return 版本信息
+     */
+    @GetMapping("/eventapplicationapprelease/edition")
+    R editionUpdate();
+
+    /**
+     * 首页待处理
+     *
+     * @param eventGridTodoDataDTO
+     * @return
+     */
+    @PostMapping("/eventgriddata/getGridTodoData")
+    R getGridTodoData(@RequestBody EventGridTodoDataDTO eventGridTodoDataDTO);
+
+    /**
+     * 后台获取网格员运动轨迹
+     *
+     * @param workTrajectoryDTO
+     *            请求参数
+     * @return 运动轨迹
+     */
+    @PostMapping("/map/gridMemberWorkTrajectory")
+    R gridMemberWorkTrajectory(@RequestBody EventGridMemberWorkTrajectoryDTO workTrajectoryDTO);
+
+    /**
+     * 后台获取网格员预警记录
+     *
+     * @param gridMemberWainDTO
+     *            请求参数
+     * @return 预警记录
+     */
+    @PostMapping("/map/gridMemberWorkWarning")
+    R gridMemberWorkWarning(@RequestBody EventGridMemberWainDTO gridMemberWainDTO);
+
+    /**
+     * 分页查询网格
+     *
+     * @param eventGridDataDTO
+     *            请求参数
+     * @return 网格列表
+     */
+    @PostMapping("/eventgriddata/data/list")
+    R getGridDataList(@RequestBody PageEventGridDataAdminDTO eventGridDataDTO);
+
+    /**
+     * 查询社区下所有网格员
+     *
+     * @param communityId
+     *            社区id
+     * @return 网格员列表
+     */
+    @PostMapping("/eventgriddata/member/list")
+    R getGridMemberLists(@RequestParam("communityId") Long communityId);
+
+    /**
+     * 查询管理事件
+     *
+     * @param pageEventManageDTO
+     * @return
+     */
+    @PostMapping("/event/manage/list")
+    R queryEventToManage(@RequestBody PageEventManageDTO pageEventManageDTO);
+
+    /**
+     * 社区网格后台标记事件无效
+     *
+     * @param eventRevokeDTO
+     * @return
+     */
+    @PostMapping("/event/markInvalid")
+    R markEventInvalid(@RequestBody EventRevokeDTO eventRevokeDTO);
+
+    /**
+     * 社区网格后台重新发布已标记无效的事件
+     *
+     * @param commonEventRepublishDTO
+     * @return
+     */
+    @PostMapping("/event/republishInvalid")
+    R republishInvalidEvent(@RequestBody CommonEventRepublishDTO commonEventRepublishDTO);
+
+    /**
+     * 后台新增网格
+     *
+     * @param eventGridDataDTO
+     *            请求参数
+     * @return 新增结果
+     */
+    @PostMapping("/eventgriddata/data/add")
+    R addGridDataByAdmin(@RequestBody EventGridDataAddAdminDTO eventGridDataDTO);
+
+    /**
+     * 后台修改网格
+     *
+     * @param eventGridDataDTO
+     *            请求参数
+     * @return 修改结果
+     */
+    @PostMapping("/eventgriddata/data/edit")
+    R editGridDataByAdmin(@RequestBody EventGridDataEditAdminDTO eventGridDataDTO);
+
+    /**
+     * 后台管理-分页查询随手拍列表
+     *
+     * @param easyAppDTO
+     *            请求参数
+     * @return 随手拍列表
+     */
+    @PostMapping("/easy/admin/list")
+    R easyListByAdmin(@RequestBody PageEasyAdminDTO easyAppDTO);
+
+    /**
+     * 后台管理-随手拍详情
+     *
+     * @param easyId
+     *            随手拍id
+     * @return 随手拍详情
+     */
+    @PostMapping("/easy/admin/detail")
+    R easyDetailByAdmin(@RequestParam("easyId") Long easyId);
+
+    /**
+     * 后台管理-随手拍处理
+     *
+     * @param photoHandleDTO
+     *            请求参数
+     * @return 处理结果
+     */
+    @PostMapping("/easy/admin/handle")
+    R easyHandleByAdmin(@RequestBody ComActEasyPhotoHandleDTO photoHandleDTO);
+
+    /**
+     * 后台管理-批量修改随手拍公示状态/删除随手拍
+     *
+     * @param photoHandleDTO
+     *            请求参数
+     * @return 修改/删除结果
+     */
+    @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);
+
+    /**
+     * 根据网格id查询网格统计数据
+     *
+     * @param gridId
+     *            网格id
+     * @return 网格统计数据
+     */
+    @PostMapping("/statistics/getGridEventStatistics")
+    R getGridEventStatisticsByApp(@RequestParam("gridId") Long gridId, @RequestParam("userId") Long userId);
+
+    /**
+     * 查询网格事件统计数据
+     *
+     * @param statisticsDTO
+     *            请求参数
+     * @return 网格事件统计数据
+     */
+    @PostMapping("/statistics/event/getGridEventStatistics")
+    R getGridEventDetailStatisticsByApp(@RequestBody GridEventStatisticsDTO statisticsDTO);
+
+    /**
+     * 网格员上报地理位置
+     *
+     * @param memberPositionDTO
+     *            请求参数
+     * @return 上报结果
+     */
+    @PostMapping("/eventgridmembergpslog/add")
+    R gridReportPosition(@RequestBody GridMemberPositionDTO memberPositionDTO);
+
+    /**
+     * 直接上报社区
+     *
+     * @param commonEventDirectReportDTO
+     * @return
+     */
+    @PostMapping("/event/reportDirect")
+    R reportDirect(@RequestBody CommonEventDirectReportDTO commonEventDirectReportDTO);
+
+    /**
+     * 定时任务扫描网格员工作状态
+     *
+     * @return 定时任务扫描结果
+     */
+    @PostMapping("/eventgridmemberwarnlog/judge")
+    R timedTaskGridMember();
+
+    /**
+     * 事件大屏查询事件列表
+     *
+     * @param eventListDTO
+     *            请求参数
+     * @return 事件列表
+     */
+    @PostMapping("/screen/event/list")
+    R getScreenEventList(@RequestBody ScreenEventListDTO eventListDTO);
+
+    /**
+     * 特殊人群上报-社区人口数据列表
+     *
+     * @param specialPopulationDTO
+     *            请求参数
+     * @return 社区人口数据列表
+     */
+    @PostMapping("/event/special/population/list")
+    R specialPopulationList(@RequestBody PageEventSpecialPopulationDTO specialPopulationDTO);
+
+    /**
+     * description 根据本地网格ID,查询对于的浪潮市平台对应的ID
+     *
+     * @param id
+     *            本地网格ID
+     * @return String 浪潮市平台对应的ID
+     * @author manailin
+     * @date 2021/6/10 17:00
+     */
+    @GetMapping("/lc_compare/{id}")
+    String getLcGridIdByLocal(@PathVariable("id") Long id);
+
+    /**
+     * description 根据本地网格ID,查询对于的浪潮市平台对应的ID
+     *
+     * @param localUserId
+     *            本地网格员ID
+     * @return String 浪潮市平台对应的ID
+     * @author manailin
+     * @date 2021/6/10 17:00
+     */
+    @GetMapping("/lc_compare/getLcUserId")
+    String getLcUserIdByLocalUserId(@RequestParam("localUserId") String localUserId);
+
+    /**
+     * description 获取所有未上传到浪潮平台的事件列表
+     *
+     * @return String 事件列表
+     * @author manailin
+     * @date 2021/6/10 17:00
+     */
+    @GetMapping("/event/getUnUploadEvent")
+    List<EventDetailsVO> getUnUploadEvent();
+
+    /**
+     * description 更新上传是否成功标识
+     *
+     * @param id
+     *            事件主键ID
+     * @return Boolean 上传是否成功
+     * @author manailin
+     * @date 2021/6/10 17:00
+     */
+    @GetMapping("/event/updateLcUploadFlag")
+    Boolean updateLcUploadFlag(@RequestParam("id") Long id);
+
+    /**
+     * 工作大屏-事件管理模块数据统计
+     * 
+     * @param communityId
+     *            社区id
+     * @return 事件管理数据统计
+     */
+    @GetMapping("/screen/work/event")
+    R eventWork(@RequestParam("communityId") Long communityId);
+
+    /**
+     * description 获取所有未上传到浪潮平台的走访事件列表
+     *
+     * @return String 事件列表
+     * @author manailin
+     * @date 2021/6/10 17:00
+     */
+    @GetMapping("/eventvisitingtasks/getUnUploadVisitingTask")
+    List<LcEventVisitingTasksListDTO> getUnUploadVisitingTask();
+
+    /**
+     * description 更新走访任务上传是否成功标识
+     *
+     * @param id
+     *            事件主键ID
+     * @return Boolean 上传是否成功
+     * @author manailin
+     * @date 2021/6/10 17:00
+     */
+    @PostMapping("/eventvisitingtasks/updateLcUploadFlagVisitingTask")
+    Boolean updateLcUploadFlagVisitingTask(@RequestParam("id") Long id);
+
+    /**
+     * 后台统计走访任务
+     *
+     * @param communityId
+     * @return
+     */
+    @GetMapping("/eventvisitingtasks/count")
+    R countVisit(@RequestParam("communityId") Long communityId);
+
+    /**
+     * 查询走访记录
+     *
+     * @param query
+     * @return
+     */
+    @PostMapping("/eventvisitingtasks/list")
+    R list(@RequestBody EventTasksQuery query);
+
+    /**
+     * 走访任务列表
+     *
+     * app走访任务列表
+     * 
+     * @param query
+     * @return
+     */
+    @PostMapping("/eventvisitingtasks/appTaskList")
+    R appTaskList(@RequestBody EventTasksQuery query);
+
+    /**
+     * 后台走访任务列表
+     * 
+     * @param query
+     * @return
+     */
+    @PostMapping("/eventvisitingtasks/taskList")
+    R taskList(@RequestBody EventTasksQuery query);
+
+    /**
+     * 导出
+     *
+     * @param query
+     * @return
+     */
+    @PostMapping("/eventvisitingtasks/exportTaskList")
+    List<EventVisitingTasksVO> exportTaskList(@RequestBody EventTasksQuery query);
+
+    /**
+     * 删除走访任务
+     *
+     * @param idDTO
+     * @param communityId
+     * @return
+     */
+    @PostMapping("/eventvisitingtasks/delete")
+    R delete(@RequestBody IdDTO idDTO, @RequestParam("communityId") Long communityId);
+
+    /**
+     * 被走访人员列表
+     *
+     * @param query
+     * @return
+     */
+    @PostMapping("/eventvisitingtasks/visitorList")
+    R visitorList(@RequestBody EventVisitListQuery query);
+
+    /**
+     * 走访详情
+     *
+     * @param id
+     * @return
+     */
+    @GetMapping("/eventvisitingtasks/detail/{id}")
+    R detail(@PathVariable("id") Long id);
+
+    /**
+     * 撤销走访
+     *
+     * @param idDTO
+     * @return
+     */
+    @PostMapping("/eventvisitingtasks/cancel")
+    R cancel(@RequestBody IdDTO idDTO);
+
+    /**
+     * 恢复走访
+     *
+     * @param idDTO
+     * @return
+     */
+    @PostMapping("/eventvisitingtasks/reset")
+    R reset(@RequestBody IdDTO idDTO);
+
+    /**
+     * 新增走访
+     *
+     * @param idDTO
+     * @param communityId
+     * @param userId
+     * @return
+     */
+    @PostMapping("/eventvisitingtasks/add")
+    R addVisitingTask(@RequestBody IdDTO idDTO, @RequestParam("communityId") Long communityId,
+        @RequestParam("userId") Long userId);
+
+    /**
+     * 开始走访
+     *
+     * @param id
+     * @return
+     */
+    @PostMapping("/eventvisitingtasks/start")
+    R start(@RequestParam("id") Long id, @RequestParam("userId") Long userId);
+
+    /**
+     * 完成走访记录
+     *
+     * @param taskCompleteDTO
+     * @return
+     */
+    @PostMapping("/eventvisitingtasks/complete")
+    R complete(@RequestBody EventVisitCompleteDTO taskCompleteDTO);
+
+    /**
+     * 查询市平台网格员列表
+     * 
+     * @return 市平台网格员列表
+     */
+    @GetMapping("/eventgridmemberrelation/lc/list")
+    R gridMemberLcList();
+
+    /**
+     * 综治后台-添加网格员级联列表
+     * 
+     * @param memberCascadeAddDTO
+     *            请求参数
+     * @return 级联列表
+     */
+    @PostMapping("/eventgridmemberrelation/cascade/list")
+    R gridMemberCascadeList(@RequestBody EventGridMemberCascadeAddDTO memberCascadeAddDTO);
+
+    /**
+     * 综治后台-查询所有市平台网格列表
+     * 
+     * @return 市平台网格列表
+     */
+    @GetMapping("/eventgriddata/lc/list")
+    R getLcGridLists();
+
+    /**
+     * 首页查询网格级联列表
+     * 
+     * @param cascadeListDTO
+     *            请求参数
+     * @return 网格列表
+     */
+    @PostMapping("/map/getMapGridListsByApp")
+    R getMapGridListsByApp(@RequestBody EventGridCascadeListDTO cascadeListDTO);
+
+    /**
+     * 首页查询网格级联列表2
+     * 
+     * @param userId
+     *            用户id
+     * @return 网格列表
+     */
+    @PostMapping("/map/getMapGridsListsByApp")
+    R getMapGridsListsByApp(@RequestParam("userId") Long userId);
+
+    /**
+     * 绘制多边形统计数据
+     * 
+     * @param eventListDTO
+     *            请求参数
+     * @return 统计数据
+     */
+    @PostMapping("/screen/getCivilDrawList")
+    R getCivilDrawList(@RequestBody ScreenDrawEventListDTO eventListDTO);
+
+    /**
+     * 新版绘制多边形统计数据
+     * @param eventListDTO
+     * @return
+     */
+    @PostMapping("/screen/getCivilDrawListNew")
+    R getCivilDrawListNew(@RequestBody ScreenDrawEventListDTO eventListDTO);
+
+    /**
+     * 大屏-根据小区id查询小区统计人数
+     * 
+     * @param villageId
+     *            小区id
+     * @return 小区统计数据
+     */
+    @GetMapping("/screen/village/statistics")
+    R civilVillageStatistics(@RequestParam("villageId") Long villageId);
+
+    /**
+     * 查询所有网格员工作汇总数据
+     * 
+     * @param statisticsAdminDTO
+     *            请求参数
+     * @return 网格员工作汇总数据
+     */
+    @PostMapping("/statistics/admin/gridMemberStatisticsAll")
+    R gridMemberStatisticsAll(@RequestBody MemberStatisticsAdminDTO statisticsAdminDTO);
+
+    /**
+     * 定时任务-给上月已走访的人员创建定时任务
+     * @return  执行结果
+     */
+    @PostMapping("/eventvisitingtasks/timedTaskVisitingJobHandler")
+    R timedTaskVisitingJobHandler();
+
+    /**
+     * 查询社区网格员运动轨迹
+     * @param communityId   社区id
+     * @return  社区网格员运动轨迹
+     */
+    @GetMapping("/screen/member/trajectory")
+    R getGridsMemberTrajectory(@RequestParam("communityId") Long communityId);
+
+    /**
+     * 西区大数据分析平台-综合治理栏
+     * @return
+     */
+    @GetMapping("/screen/comprehensive/governance")
+    R getComprehensiveGovernanceStatics();
+
+    /**
+     * 大屏-新根据小区id查询小区统计人数
+     *
+     * @param villageId
+     *            小区id
+     * @return 小区统计数据
+     */
+    @GetMapping("/screen/village/statistics-new")
+    R civilVillageStatisticsNew(@RequestParam("villageId") Long villageId);
 }

--
Gitblit v1.7.1