From e3a2245265516fef78b4737d6fffc939e7c5e0af Mon Sep 17 00:00:00 2001
From: huliguo <2023611923@qq.com>
Date: 星期四, 03 七月 2025 17:56:07 +0800
Subject: [PATCH] bug修改

---
 pt-admin/src/main/java/com/ruoyi/web/controller/errand/CommunityController.java |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/pt-admin/src/main/java/com/ruoyi/web/controller/errand/CommunityController.java b/pt-admin/src/main/java/com/ruoyi/web/controller/errand/CommunityController.java
index 867ea30..420ee30 100644
--- a/pt-admin/src/main/java/com/ruoyi/web/controller/errand/CommunityController.java
+++ b/pt-admin/src/main/java/com/ruoyi/web/controller/errand/CommunityController.java
@@ -21,7 +21,6 @@
 
 @RestController
 @RequestMapping(value = "/app/community")
-@Api(value = "小区信息", tags = "小区信息操作控制器")
 @Slf4j
 public class CommunityController {
     @Autowired
@@ -44,8 +43,8 @@
     @GetMapping("/getTotalCommunityList")
     @PreAuthorize("@ss.hasPermi('system:index:statistics')")
     @ApiOperation(value = "获取所有小区列表(开通的小区总数取列表大小吧)",tags = "系统后台-首页")
-    public R<List<CommunityListVO>> getTotalCommunityList() {
-        return communityService.getTotalCommunityList();
+    public R<List<CommunityListVO>> getTotalCommunityList(@RequestParam(value = "name",required = false) String name) {
+        return communityService.getTotalCommunityList(name);
     }
 
     /**

--
Gitblit v1.7.1