From 6a48d04a36bc459ed761d787ee3d537652185d36 Mon Sep 17 00:00:00 2001
From: liu <2021943741@qq.com>
Date: 星期二, 27 十月 2026 15:06:50 +0800
Subject: [PATCH] refactor(permission): 清理新高电力查询菜单及权限注解

---
 yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/controller/admin/brand/MdmBrandController.java |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/controller/admin/brand/MdmBrandController.java b/yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/controller/admin/brand/MdmBrandController.java
index f55edf0..2b97226 100644
--- a/yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/controller/admin/brand/MdmBrandController.java
+++ b/yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/controller/admin/brand/MdmBrandController.java
@@ -65,23 +65,27 @@
     @GetMapping("/get")
     @Operation(summary = "鑾峰緱鍝佺墝")
     @Parameter(name = "id", description = "缂栧彿", required = true, example = "1")
-    @PreAuthorize("@ss.hasPermission('mdm:brand:query')")
     public CommonResult<MdmBrandDO> getBrand(@RequestParam("id") Long id) {
         return success(brandService.getBrand(id));
     }
 
     @GetMapping("/page")
     @Operation(summary = "鑾峰緱鍝佺墝鍒嗛〉")
-    @PreAuthorize("@ss.hasPermission('mdm:brand:query')")
     public CommonResult<PageResult<MdmBrandDO>> getBrandPage(@Valid MdmBrandPageReqVO pageReqVO) {
         return success(brandService.getBrandPage(pageReqVO));
     }
 
     @GetMapping("/list")
     @Operation(summary = "鑾峰緱鍝佺墝鍒楄〃")
-    @PreAuthorize("@ss.hasPermission('mdm:brand:query')")
     public CommonResult<List<MdmBrandDO>> getBrandList() {
         return success(brandService.getBrandList(null));
     }
 
-}
\ No newline at end of file
+    @GetMapping("/list-by-ids")
+    @Operation(summary = "鑾峰緱鍝佺墝鍒楄〃")
+    @Parameter(name = "ids", description = "缂栧彿鍒楄〃", required = true, example = "1,2,3")
+    public CommonResult<List<MdmBrandDO>> getBrandListByIds(@RequestParam("ids") List<Long> ids) {
+        return success(brandService.getBrandList(ids));
+    }
+
+}

--
Gitblit v1.9.3