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/dv/machinery/MesDvMachineryTypeController.java |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/dv/machinery/MesDvMachineryTypeController.java b/yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/dv/machinery/MesDvMachineryTypeController.java
index e534d76..f40ce0f 100644
--- a/yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/dv/machinery/MesDvMachineryTypeController.java
+++ b/yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/dv/machinery/MesDvMachineryTypeController.java
@@ -58,7 +58,6 @@
     @GetMapping("/get")
     @Operation(summary = "鑾峰緱璁惧绫诲瀷")
     @Parameter(name = "id", description = "缂栧彿", required = true, example = "1024")
-    @PreAuthorize("@ss.hasPermission('mes:dv-machinery-type:query')")
     public CommonResult<MesDvMachineryTypeRespVO> getMachineryType(@RequestParam("id") Long id) {
         MesDvMachineryTypeDO machineryType = machineryTypeService.getMachineryType(id);
         return success(BeanUtils.toBean(machineryType, MesDvMachineryTypeRespVO.class));
@@ -66,7 +65,6 @@
 
     @GetMapping("/list")
     @Operation(summary = "鑾峰緱璁惧绫诲瀷鍒楄〃")
-    @PreAuthorize("@ss.hasPermission('mes:dv-machinery-type:query')")
     public CommonResult<List<MesDvMachineryTypeRespVO>> getMachineryTypeList(@Valid MesDvMachineryTypeListReqVO listReqVO) {
         List<MesDvMachineryTypeDO> list = machineryTypeService.getMachineryTypeList(listReqVO);
         return success(BeanUtils.toBean(list, MesDvMachineryTypeRespVO.class));

--
Gitblit v1.9.3