From 9075785a9e14f6220783d052d231f915c6930b87 Mon Sep 17 00:00:00 2001
From: xiaoyi <908147524@qq.com>
Date: 星期三, 04 十一月 2026 10:21:45 +0800
Subject: [PATCH] revert(collect): 撤销 collect 数采模块(新高设备管理已有自己的采集方式)

---
 yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/cal/plan/MesCalPlanController.java |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/cal/plan/MesCalPlanController.java b/yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/cal/plan/MesCalPlanController.java
index 4498020..73355e2 100644
--- a/yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/cal/plan/MesCalPlanController.java
+++ b/yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/cal/plan/MesCalPlanController.java
@@ -78,7 +78,6 @@
     @GetMapping("/get")
     @Operation(summary = "鑾峰緱鎺掔彮璁″垝")
     @Parameter(name = "id", description = "缂栧彿", required = true, example = "1024")
-    @PreAuthorize("@ss.hasPermission('mes:cal-plan:query')")
     public CommonResult<MesCalPlanRespVO> getPlan(@RequestParam("id") Long id) {
         MesCalPlanDO plan = planService.getPlan(id);
         return success(BeanUtils.toBean(plan, MesCalPlanRespVO.class));
@@ -86,7 +85,6 @@
 
     @GetMapping("/page")
     @Operation(summary = "鑾峰緱鎺掔彮璁″垝鍒嗛〉")
-    @PreAuthorize("@ss.hasPermission('mes:cal-plan:query')")
     public CommonResult<PageResult<MesCalPlanRespVO>> getPlanPage(@Valid MesCalPlanPageReqVO pageReqVO) {
         PageResult<MesCalPlanDO> pageResult = planService.getPlanPage(pageReqVO);
         return success(BeanUtils.toBean(pageResult, MesCalPlanRespVO.class));
@@ -121,7 +119,7 @@
                         .remark("").build()
         );
         // 杈撳嚭
-        ExcelUtils.write(response, "鎺掔彮璁″垝瀵煎叆妯℃澘.xls", "鎺掔彮璁″垝鍒楄〃", MesCalPlanImportExcelVO.class, list);
+        ExcelUtils.writeTemplate(response, "鎺掔彮璁″垝瀵煎叆妯℃澘.xls", "鎺掔彮璁″垝鍒楄〃", MesCalPlanImportExcelVO.class, list);
     }
 
     @PostMapping("/import")

--
Gitblit v1.9.3