From 234b0ac195934b34c06045b2d2ef0f10e239dd8e Mon Sep 17 00:00:00 2001
From: zhuo <2089219845@qq.com>
Date: 星期三, 23 四月 2025 00:06:54 +0800
Subject: [PATCH] 系统合并

---
 cnas-manage/src/main/java/com/ruoyi/manage/controller/ManageRecordIntervalsController.java |   13 +++++--------
 1 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/cnas-manage/src/main/java/com/ruoyi/manage/controller/ManageRecordIntervalsController.java b/cnas-manage/src/main/java/com/ruoyi/manage/controller/ManageRecordIntervalsController.java
index faf687e..cf5067b 100644
--- a/cnas-manage/src/main/java/com/ruoyi/manage/controller/ManageRecordIntervalsController.java
+++ b/cnas-manage/src/main/java/com/ruoyi/manage/controller/ManageRecordIntervalsController.java
@@ -12,10 +12,7 @@
 import com.deepoove.poi.data.style.*;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.RequestBody;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RestController;
+import org.springframework.web.bind.annotation.*;
 import org.springframework.web.multipart.MultipartFile;
 
 import javax.annotation.Resource;
@@ -27,7 +24,7 @@
  * 鏂囦欢瀹氭湡瀹℃煡璁板綍 鍓嶇鎺у埗鍣�
  * </p>
  *
- * @author 鑺杞欢锛堟睙鑻忥級鏈夐檺鍏徃
+ * @author 
  * @since 2024-11-13 10:54:31
  */
 @Api(tags = "璁板綍鐨勬帶鍒�")
@@ -39,7 +36,7 @@
     private ManageRecordIntervalsService manageRecordIntervalsService;
 
     @ApiOperation(value = "鍒嗛〉鏌ヨ鏂囦欢瀹氭湡瀹℃煡璁板綍")
-    @PostMapping("/pageManageRecordIntervals")
+    @GetMapping("/pageManageRecordIntervals")
     public Result pageManageRecordIntervals(Page page,ManageRecordIntervals manageRecordIntervals) throws Exception {
         return Result.success(manageRecordIntervalsService.pageManageRecordIntervals(page, manageRecordIntervals));
     }
@@ -58,13 +55,13 @@
     }
 
     @ApiOperation(value = "鍒犻櫎鏂囦欢瀹氭湡瀹℃煡璁板綍")
-    @PostMapping("/delManageRecordIntervals")
+    @DeleteMapping("/delManageRecordIntervals")
     public Result delManageRecordIntervals(Integer id) {
         return Result.success(manageRecordIntervalsService.delManageRecordIntervals(id));
     }
 
     @ApiOperation(value = "瀵煎嚭鏂囦欢瀹氭湡瀹℃煡璁板綍")
-    @PostMapping("/exportOutManageRecordIntervals")
+    @GetMapping("/exportOutManageRecordIntervals")
     public Result exportOutManageRecordIntervals(ManageRecordIntervals manageRecordIntervals, HttpServletResponse response) throws Exception {
         return Result.success(manageRecordIntervalsService.exportOutManageRecordIntervals(manageRecordIntervals,response));
     }

--
Gitblit v1.9.3