From fec1341c1cb8e11cfbe3fa7dfabe447edb72b630 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期二, 27 十月 2026 15:12:43 +0800
Subject: [PATCH] refactor(auth): 移除多个模块中的权限校验注解

---
 yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/controller/admin/receivable/CrmReceivablePlanController.java |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/controller/admin/receivable/CrmReceivablePlanController.java b/yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/controller/admin/receivable/CrmReceivablePlanController.java
index 0e879ae..d67d74b 100644
--- a/yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/controller/admin/receivable/CrmReceivablePlanController.java
+++ b/yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/controller/admin/receivable/CrmReceivablePlanController.java
@@ -91,7 +91,6 @@
     @GetMapping("/get")
     @Operation(summary = "鑾峰緱鍥炴璁″垝")
     @Parameter(name = "id", description = "缂栧彿", required = true, example = "1024")
-    @PreAuthorize("@ss.hasPermission('crm:receivable-plan:query')")
     public CommonResult<CrmReceivablePlanRespVO> getReceivablePlan(@RequestParam("id") Long id) {
         CrmReceivablePlanDO receivablePlan = receivablePlanService.getReceivablePlan(id);
         return success(buildReceivablePlanDetail(receivablePlan));
@@ -106,7 +105,6 @@
 
     @GetMapping("/page")
     @Operation(summary = "鑾峰緱鍥炴璁″垝鍒嗛〉")
-    @PreAuthorize("@ss.hasPermission('crm:receivable-plan:query')")
     public CommonResult<PageResult<CrmReceivablePlanRespVO>> getReceivablePlanPage(@Valid CrmReceivablePlanPageReqVO pageReqVO) {
         PageResult<CrmReceivablePlanDO> pageResult = receivablePlanService.getReceivablePlanPage(pageReqVO, getLoginUserId());
         return success(new PageResult<>(buildReceivableDetailList(pageResult.getList()), pageResult.getTotal()));
@@ -169,7 +167,6 @@
             @Parameter(name = "customerId", description = "瀹㈡埛缂栧彿", required = true),
             @Parameter(name = "contractId", description = "鍚堝悓缂栧彿", required = true)
     })
-    @PreAuthorize("@ss.hasPermission('crm:receivable-plan:query')")
     public CommonResult<List<CrmReceivablePlanRespVO>> getReceivablePlanSimpleList(@RequestParam("customerId") Long customerId,
                                                                                    @RequestParam("contractId") Long contractId) {
         CrmReceivablePlanPageReqVO pageReqVO = new CrmReceivablePlanPageReqVO().setCustomerId(customerId).setContractId(contractId);
@@ -182,7 +179,6 @@
 
     @GetMapping("/remind-count")
     @Operation(summary = "鑾峰緱寰呭洖娆炬彁閱掓暟閲�")
-    @PreAuthorize("@ss.hasPermission('crm:receivable-plan:query')")
     public CommonResult<Long> getReceivablePlanRemindCount() {
         return success(receivablePlanService.getReceivablePlanRemindCount(getLoginUserId()));
     }

--
Gitblit v1.9.3