From 8e4eee5ad4d74e1a4e6ab4de3a9c28000700dce0 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 03 十一月 2026 13:49:04 +0800
Subject: [PATCH] 修复采购退货页面 ERP 模块已禁用报错
---
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