From 8dc28c815eb0acdb5af82c2667eec45efd0507c5 Mon Sep 17 00:00:00 2001 From: liding <756868258@qq.com> Date: 星期二, 18 三月 2025 09:34:46 +0800 Subject: [PATCH] 车间绑定调整 --- cnas-manage/src/main/java/com/ruoyi/manage/controller/ManageRecordIntervalsController.java | 11 ++++------- 1 files changed, 4 insertions(+), 7 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..5c66147 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; @@ -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