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/wm/productsales/MesWmProductSalesDetailController.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/wm/productsales/MesWmProductSalesDetailController.java b/yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/productsales/MesWmProductSalesDetailController.java
index 6e79bf3..c07ca6d 100644
--- a/yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/productsales/MesWmProductSalesDetailController.java
+++ b/yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/productsales/MesWmProductSalesDetailController.java
@@ -83,7 +83,6 @@
@GetMapping("/get")
@Operation(summary = "鑾峰緱閿�鍞嚭搴撴槑缁�")
@Parameter(name = "id", description = "缂栧彿", required = true, example = "1024")
- @PreAuthorize("@ss.hasPermission('mes:wm-product-sales:query')")
public CommonResult<MesWmProductSalesDetailRespVO> getProductSalesDetail(@RequestParam("id") Long id) {
MesWmProductSalesDetailDO detail = productSalesDetailService.getProductSalesDetail(id);
if (detail == null) {
@@ -95,7 +94,6 @@
@GetMapping("/list-by-line")
@Operation(summary = "鑾峰緱閿�鍞嚭搴撴槑缁嗗垪琛紙鎸夎缂栧彿锛�")
@Parameter(name = "lineId", description = "琛岀紪鍙�", required = true, example = "1024")
- @PreAuthorize("@ss.hasPermission('mes:wm-product-sales:query')")
public CommonResult<List<MesWmProductSalesDetailRespVO>> getProductSalesDetailListByLineId(
@RequestParam("lineId") Long lineId) {
List<MesWmProductSalesDetailDO> list = productSalesDetailService.getProductSalesDetailListByLineId(lineId);
--
Gitblit v1.9.3