From 7a37c1b60a89e3da9e521c7f4dd7a7b9f43e5646 Mon Sep 17 00:00:00 2001 From: DESKTOP-71BH0QO\L、ming <172680469@qq.com> Date: 星期五, 09 四月 2021 10:18:28 +0800 Subject: [PATCH] no --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommonDataApi.java | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommonDataApi.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommonDataApi.java index 7974de4..90be175 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommonDataApi.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommonDataApi.java @@ -306,4 +306,26 @@ public R deletePopulations(@RequestBody List<Long> Ids) { return comMngPopulationService.deletePopulations(Ids); } + + /** + * 根据社区id查询所有实有人口 + * @param communityId 社区id + * @return 查询结果 + */ + @ApiOperation(value = "根据社区id查询所有实有人口") + @PostMapping("/population/getAll") + public R getPopulationListByCommunityId(@RequestParam(value = "communityId") Long communityId) { + return comMngPopulationService.getPopulationListByCommunityId(communityId); + } + + /** + * 根据id集合查询实有人口 + * @param Ids 实有人口id集合 + * @return 查询结果 + */ + @ApiOperation(value = "批量删除实有人口") + @PostMapping("/population/getList") + public R getPopulationLists(@RequestBody List<Long> Ids) { + return comMngPopulationService.getPopulationLists(Ids); + } } -- Gitblit v1.7.1