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-srm/src/main/java/cn/iocoder/yudao/module/srm/controller/admin/tender/SrmBidEvaluationController.java | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/yudao-module-srm/src/main/java/cn/iocoder/yudao/module/srm/controller/admin/tender/SrmBidEvaluationController.java b/yudao-module-srm/src/main/java/cn/iocoder/yudao/module/srm/controller/admin/tender/SrmBidEvaluationController.java
index 68e69a5..0639b44 100644
--- a/yudao-module-srm/src/main/java/cn/iocoder/yudao/module/srm/controller/admin/tender/SrmBidEvaluationController.java
+++ b/yudao-module-srm/src/main/java/cn/iocoder/yudao/module/srm/controller/admin/tender/SrmBidEvaluationController.java
@@ -40,9 +40,16 @@
return success(bidEvaluationService.createEvaluation(createReqVO));
}
+ @PutMapping("/update")
+ @Operation(summary = "鏇存柊璇勬爣璁板綍")
+ @PreAuthorize("@ss.hasPermission('srm:bid-evaluation:update')")
+ public CommonResult<Boolean> updateEvaluation(@Valid @RequestBody SrmBidEvaluationSaveReqVO updateReqVO) {
+ bidEvaluationService.updateEvaluation(updateReqVO);
+ return success(true);
+ }
+
@GetMapping("/list-by-project")
@Operation(summary = "鎸夋嫑鏍囬」鐩幏鍙栬瘎鏍囧垪琛�")
- @PreAuthorize("@ss.hasPermission('srm:bid-evaluation:query')")
public CommonResult<List<SrmBidEvaluationRespVO>> getEvaluationList(@RequestParam("tenderProjectId") Long tenderProjectId) {
List<SrmBidEvaluationRespVO> list = BeanUtils.toBean(bidEvaluationService.getEvaluationList(tenderProjectId), SrmBidEvaluationRespVO.class);
enrichEvaluationSupplierNames(list);
@@ -80,7 +87,6 @@
@GetMapping("/bid-open/get")
@Operation(summary = "鑾峰彇寮�鏍囪褰�")
- @PreAuthorize("@ss.hasPermission('srm:bid-open:query')")
public CommonResult<SrmBidOpenRespVO> getBidOpen(@RequestParam("id") Long id) {
return success(BeanUtils.toBean(bidEvaluationService.getBidOpen(id), SrmBidOpenRespVO.class));
}
--
Gitblit v1.9.3