From 86df207c37502cce1b2043e1c7c0486459eef1d6 Mon Sep 17 00:00:00 2001
From: mitao <2763622819@qq.com>
Date: 星期四, 13 三月 2025 19:58:45 +0800
Subject: [PATCH] 党员、诉求评论基础代码

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/BcRegionApi.java |   21 ++++++++++++++++++++-
 1 files changed, 20 insertions(+), 1 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/BcRegionApi.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/BcRegionApi.java
index c3064a8..a428338 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/BcRegionApi.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/BcRegionApi.java
@@ -40,6 +40,25 @@
      */
     @PostMapping("queryAll")
     public R selectAll(@RequestParam("province") String province, @RequestParam("city") String city, @RequestParam("county")String country,@RequestParam("town")String town) {
-        return this.bcRegionService.pageList(province,city,country,town);
+        return this.bcRegionService.pageList(province, city, country, town);
+    }
+        /**
+     * 关键字查询
+     *
+     * @param province 查询实体
+     * @return 所有数据
+     */
+    @PostMapping("selectCommunityCodeByName")
+    public R selectCommunityCodeByName( @RequestParam("city") String city, @RequestParam("county")String country,@RequestParam("town")String town,@RequestParam("villagetr") String villagetr) {
+        return this.bcRegionService.selectCommunityCodeByName(city,country,town,villagetr);
+    }
+    @GetMapping("levelList")
+    public R levelList(@RequestParam("level")Integer level,@RequestParam("code")String code){
+        return this.bcRegionService.levelList(level,code);
+    }
+
+    @GetMapping("levelListBackstage")
+    public R levelListBackstage(){
+        return this.bcRegionService.levelListBackstage();
     }
 }

--
Gitblit v1.7.1