From 481d8165f26fc7e37f0e87f6444ac0340bb563a3 Mon Sep 17 00:00:00 2001
From: xiaoyi <908147524@qq.com>
Date: 星期二, 03 十一月 2026 18:53:22 +0800
Subject: [PATCH] fix: 移植长辉已验证的四类接口 500/体验问题(不含物料颜色字段)

---
 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