From 8fd61364dc840ef15e02db0a047ca87a98972eec Mon Sep 17 00:00:00 2001 From: chenrui <1187576398@qq.com> Date: 星期五, 28 二月 2025 16:46:36 +0800 Subject: [PATCH] 代码迁移bug解决 --- performance-server/src/main/java/com/ruoyi/performance/controller/PerformanceShiftController.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/performance-server/src/main/java/com/ruoyi/performance/controller/PerformanceShiftController.java b/performance-server/src/main/java/com/ruoyi/performance/controller/PerformanceShiftController.java index ecdabdb..7b02c03 100644 --- a/performance-server/src/main/java/com/ruoyi/performance/controller/PerformanceShiftController.java +++ b/performance-server/src/main/java/com/ruoyi/performance/controller/PerformanceShiftController.java @@ -63,19 +63,19 @@ } @ApiOperation(value = "鏈堜唤鍒嗛〉鏌ヨ") - @PostMapping("page") + @GetMapping("page") public Result<?> performanceShiftPage(Integer size, Integer current, String time, String userName, String laboratory) { return Result.success(performanceShiftService.performanceShiftPage(new Page<>(current, size), time, userName, laboratory)); } @ApiOperation(value = "骞翠唤鍒嗛〉鏌ヨ") - @PostMapping("pageYear") + @GetMapping("pageYear") public Result<?> performanceShiftPageYear(Integer size, Integer current, String time, String userName, String laboratory) { return Result.success(performanceShiftService.performanceShiftPageYear(new Page<>(current, size), time, userName, laboratory)); } @ApiOperation(value = "鐝鐘舵�佷慨鏀�") - @PutMapping("update") + @PostMapping("update") public Result<?> performanceShiftUpdate(@RequestBody PerformanceShift performanceShift) { performanceShiftService.performanceShiftUpdate(performanceShift); return Result.success(); -- Gitblit v1.9.3