From 083274723aca1abeebaea486c90fd4e10f891b1b Mon Sep 17 00:00:00 2001 From: huanghongfa <18228131219@163.com> Date: 星期三, 27 一月 2021 16:31:56 +0800 Subject: [PATCH] docker --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommunityApi.java | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommunityApi.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommunityApi.java index 7fac868..5d959db 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommunityApi.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommunityApi.java @@ -59,6 +59,8 @@ private ComMngStructOtherBuildService comMngStructOtherBuildService; @Resource private ComMngVolunteerMngService comMngVolunteerMngService; + @Resource + private ComMngStructAreaDistrictService comMngStructAreaDistrictService; /** * 新增社区活动 @@ -1137,7 +1139,15 @@ return comActEasyPhotoService.addComActEasyPhotoComment(comActEasyPhotoCommentDTO); } - + /** + * 查询城市下属所有地区列表 + * @param cityAdcode 城市地址编码 + * @return 地区列表 + */ + @PostMapping("listareadistrict") + public R listAreaDistrict(@RequestParam("cityAdcode") Long cityAdcode){ + return comMngStructAreaDistrictService.listAreaDistrict(cityAdcode); + } } -- Gitblit v1.7.1