From a0fc229c0df1d0bd87b7638805b810e8031c8942 Mon Sep 17 00:00:00 2001 From: tangxiaobao <303826152@qq.com> Date: 星期三, 21 七月 2021 16:42:33 +0800 Subject: [PATCH] 社区后台基础数据库bug修改 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java | 20 +++++++++++++++++++- 1 files changed, 19 insertions(+), 1 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java index 8f8d0ce..e18060f 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java @@ -1667,6 +1667,15 @@ R listVillage(ComMngVillageVO comMngVillageVO); /** + * 根据房屋id查询实有房屋 + * + * @param villageId 查询条件 + * @return 查询结果 + */ + @PostMapping("/getVillageById") + R getVillageById(@RequestParam(value = "villageId")Long villageId); + + /** * 批量导入实有房屋 * * @param list 实有房屋数据 @@ -1760,6 +1769,15 @@ */ @PostMapping("/common/data/population/getList") R getPopulationLists(@RequestBody List<Long> Ids); + + /** + * 根据小区id查询实有人口 + * + * @param villageId 小区id + * @return 查询结果 + */ + @PostMapping("/common/data/population/getListByVillageId") + R getPopulationListByVillageId(@RequestParam("villageId") Long villageId); /** * 创建调查问卷 @@ -2351,7 +2369,7 @@ * @return 详情 */ @GetMapping("/detailworkguide") - R detailWorkGuide(@RequestParam("workGuideId") Long workGuideId); + R detailWorkGuide(@RequestParam("workGuideId") Long workGuideId, @RequestParam("conmunityId") Long conmunityId); /** * 办事指南_分页 -- Gitblit v1.7.1