From 9daeb6eac6e46710055e625bbbd56331b8890e21 Mon Sep 17 00:00:00 2001
From: xiaoyi <908147524@qq.com>
Date: 星期三, 04 十一月 2026 10:10:20 +0800
Subject: [PATCH] revert(energy): 撤销 energy 模块移植(与新高原有 em 模块重复)
---
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 7b13738..bb9f597 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
@@ -66,7 +66,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));
@@ -74,7 +73,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