From 7dd8057f19f9e4984d5150f34f14f0fdda64faed Mon Sep 17 00:00:00 2001 From: 张天森 <1292933220@qq.com> Date: 星期四, 13 十月 2022 19:59:22 +0800 Subject: [PATCH] 三说会堂事件操作权限处理 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/BuildingApi.java | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/BuildingApi.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/BuildingApi.java index caeea0a..7c3ff0c 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/BuildingApi.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/BuildingApi.java @@ -115,4 +115,19 @@ public R deleteBuildingHousePopulationAdmin(@RequestBody DeleteBuildingHousePopulationDto housePopulationDto) { return comActBuildingService.deleteBuildingHousePopulationAdmin(housePopulationDto); } + + /** + * 根据小区id查询楼栋列表 + * @param villageId 小区id + * @return 查询楼栋列表 + */ + @GetMapping("/getBuildListByVillageId") + public R getBuildListByVillageId(@RequestParam("villageId") Long villageId) { + return comActBuildingService.getBuildListByVillageId(villageId); + } + + @GetMapping("/delete") + public R delete(@RequestParam("id")Long id){ + return comActBuildingService.delete(id); + } } -- Gitblit v1.7.1