From 3eee4ef8dddb8d113490dc84ed174e1faa09b00f Mon Sep 17 00:00:00 2001 From: huanghongfa <huanghongfa123456> Date: 星期四, 01 七月 2021 11:30:15 +0800 Subject: [PATCH] 修改bug --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/PopulationApi.java | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/PopulationApi.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/PopulationApi.java index 05b4fb4..aa4a7f9 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/PopulationApi.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/PopulationApi.java @@ -44,11 +44,21 @@ return comMngPopulationService.getGridPopulationAdminList(populationListDTO); } + /** + * 综治后台-删除居民 + * @param ids 居民id集合 + * @return 删除结果 + */ @PostMapping("/grid/del") public R delGridPopulationAdmin(@RequestBody List<Long> ids) { return comMngPopulationService.delGridPopulationAdmin(ids); } + /** + * 综治后台-居民详情 + * @param populationId 居民id + * @return 居民详情 + */ @GetMapping("/grid/get") public R getGridPopulationAdminDetail(@RequestParam("populationId")Long populationId) { return comMngPopulationService.getPopulationDetailApp(populationId); @@ -58,4 +68,11 @@ public R binding() { return comMngPopulationService.binding(); } + + @GetMapping("/grid/statistics") + public R getGridPopulationStatistics(@RequestParam("communityId") Long communityId) { + return comMngPopulationService.getGridPopulationStatistics(communityId); + } + + } -- Gitblit v1.7.1