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-crm/src/main/java/cn/iocoder/yudao/module/crm/controller/admin/contract/CrmContractCommandController.java |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/controller/admin/contract/CrmContractCommandController.java b/yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/controller/admin/contract/CrmContractCommandController.java
index 2a35c93..19ae788 100644
--- a/yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/controller/admin/contract/CrmContractCommandController.java
+++ b/yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/controller/admin/contract/CrmContractCommandController.java
@@ -53,14 +53,12 @@
     @GetMapping("/get")
     @Operation(summary = "鑾峰緱鍚堝悓鎸囦护")
     @Parameter(name = "id", description = "缂栧彿", required = true)
-    @PreAuthorize("@ss.hasPermission('crm:contract-command:query')")
     public CommonResult<CrmContractCommandRespVO> getCommand(@RequestParam("id") Long id) {
         return success(commandService.getCommand(id));
     }
 
     @GetMapping("/page")
     @Operation(summary = "鑾峰緱鍚堝悓鎸囦护鍒嗛〉")
-    @PreAuthorize("@ss.hasPermission('crm:contract-command:query')")
     public CommonResult<PageResult<CrmContractCommandRespVO>> getCommandPage(@Valid CrmContractCommandPageReqVO pageReqVO) {
         return success(commandService.getCommandPage(pageReqVO));
     }
@@ -86,9 +84,8 @@
     @GetMapping("/count-by-contract")
     @Operation(summary = "缁熻鏌愬悎鍚屾寚浠ゆ暟閲�")
     @Parameter(name = "contractId", description = "鍚堝悓ID", required = true)
-    @PreAuthorize("@ss.hasPermission('crm:contract-command:query')")
     public CommonResult<Long> countByContract(@RequestParam("contractId") Long contractId) {
         return success(commandService.countByContractId(contractId));
     }
 
-}
\ No newline at end of file
+}

--
Gitblit v1.9.3