From a5ebd7103f2375c8c241c6f14c586c7d75b0dd79 Mon Sep 17 00:00:00 2001 From: CeDo <cedoogle@gmail.com> Date: 星期六, 05 六月 2021 18:44:36 +0800 Subject: [PATCH] Merge branch 'test_future_wangge' into test --- springcloud_k8s_panzhihuazhihuishequ/service_grid/src/main/java/com/panzhihua/service_grid/service/EventGridDataService.java | 42 +++++++++++++++++++++++++++++++++++++----- 1 files changed, 37 insertions(+), 5 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_grid/src/main/java/com/panzhihua/service_grid/service/EventGridDataService.java b/springcloud_k8s_panzhihuazhihuishequ/service_grid/src/main/java/com/panzhihua/service_grid/service/EventGridDataService.java index e475c73..245b38a 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_grid/src/main/java/com/panzhihua/service_grid/service/EventGridDataService.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_grid/src/main/java/com/panzhihua/service_grid/service/EventGridDataService.java @@ -2,10 +2,7 @@ import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.service.IService; -import com.panzhihua.common.model.dtos.grid.EventGridDataAddDTO; -import com.panzhihua.common.model.dtos.grid.EventGridDataDeleteDTO; -import com.panzhihua.common.model.dtos.grid.EventGridDataEditDTO; -import com.panzhihua.common.model.dtos.grid.PageEventGridDataDTO; +import com.panzhihua.common.model.dtos.grid.*; import com.panzhihua.common.model.vos.R; import com.panzhihua.common.model.vos.grid.EventGridDataDetailsVO; import com.panzhihua.common.model.vos.grid.EventGridDataVO; @@ -65,11 +62,18 @@ R getMapGridDetail(Long gridId); /** + * 获取网格后台待处理事件统计信息 + * @param eventGridTodoDataDTO + * @return + */ + R getGridTodoData(EventGridTodoDataDTO eventGridTodoDataDTO); + + /** * 分页查询网格 * @param eventGridDataDTO 请求参数 * @return 网格列表 */ - R getGridMemberList(PageEventGridDataDTO eventGridDataDTO); + R getGridMemberList(PageEventGridDataAdminDTO eventGridDataDTO); /** * 查询社区下所有网格员 @@ -77,4 +81,32 @@ * @return 网格员列表 */ R getGridMemberLists(Long communityId); + + /** + * 后台新增网格 + * @param eventGridDataDTO 请求参数 + * @return 新增结果 + */ + R addGridDataByAdmin(EventGridDataAddAdminDTO eventGridDataDTO); + + /** + * 后台修改网格 + * @param eventGridDataDTO 请求参数 + * @return 修改结果 + */ + R editGridDataByAdmin(EventGridDataEditAdminDTO eventGridDataDTO); + + /** + * 查询网格下所有网格员 + * @param gridId + * @return + */ + R getGridMemberListsByGrid(Long gridId); + + /** + * 查询网格下所有网格员 + * @param communityId + * @return + */ + R getGridDataListByCommunity(Long communityId); } -- Gitblit v1.7.1