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-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/cal/plan/MesCalPlanShiftController.java |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/cal/plan/MesCalPlanShiftController.java b/yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/cal/plan/MesCalPlanShiftController.java
index 1f6013e..19031da 100644
--- a/yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/cal/plan/MesCalPlanShiftController.java
+++ b/yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/cal/plan/MesCalPlanShiftController.java
@@ -57,7 +57,6 @@
     @GetMapping("/get")
     @Operation(summary = "鑾峰緱璁″垝鐝")
     @Parameter(name = "id", description = "缂栧彿", required = true, example = "1024")
-    @PreAuthorize("@ss.hasPermission('mes:cal-plan:query')")
     public CommonResult<MesCalPlanShiftRespVO> getPlanShift(@RequestParam("id") Long id) {
         MesCalPlanShiftDO planShift = planShiftService.getPlanShift(id);
         return success(BeanUtils.toBean(planShift, MesCalPlanShiftRespVO.class));
@@ -65,7 +64,6 @@
 
     @GetMapping("/page")
     @Operation(summary = "鑾峰緱璁″垝鐝鍒嗛〉")
-    @PreAuthorize("@ss.hasPermission('mes:cal-plan:query')")
     public CommonResult<PageResult<MesCalPlanShiftRespVO>> getPlanShiftPage(@Valid MesCalPlanShiftPageReqVO pageReqVO) {
         PageResult<MesCalPlanShiftDO> pageResult = planShiftService.getPlanShiftPage(pageReqVO);
         return success(BeanUtils.toBean(pageResult, MesCalPlanShiftRespVO.class));
@@ -74,7 +72,6 @@
     @GetMapping("/list-by-plan")
     @Operation(summary = "鑾峰緱鎸囧畾鎺掔彮璁″垝鐨勭彮娆″垪琛�")
     @Parameter(name = "planId", description = "鎺掔彮璁″垝缂栧彿", required = true)
-    @PreAuthorize("@ss.hasPermission('mes:cal-plan:query')")
     public CommonResult<List<MesCalPlanShiftRespVO>> getPlanShiftListByPlan(@RequestParam("planId") Long planId) {
         List<MesCalPlanShiftDO> list = planShiftService.getPlanShiftListByPlanId(planId);
         return success(BeanUtils.toBean(list, MesCalPlanShiftRespVO.class));

--
Gitblit v1.9.3