From ce3d6c415b1bc785635cd552203a99e22207d86d Mon Sep 17 00:00:00 2001
From: lxp <1928192722@qq.com>
Date: 星期一, 10 三月 2025 14:46:37 +0800
Subject: [PATCH] 绩效管理代码搬迁

---
 performance-server/src/main/java/com/ruoyi/performance/controller/PerformanceShiftController.java |   14 +++++++++++---
 1 files changed, 11 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..e7b2064 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
@@ -15,6 +15,7 @@
 import com.ruoyi.system.service.UserService;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
+import org.apache.ibatis.annotations.Param;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.*;
 
@@ -63,13 +64,13 @@
     }
 
     @ApiOperation(value = "鏈堜唤鍒嗛〉鏌ヨ")
-    @PostMapping("page")
-    public Result<?> performanceShiftPage(Integer size, Integer current, String time, String userName, String laboratory) {
+    @GetMapping("page")
+    public Result<?> performanceShiftPage(@Param("size") Integer size,@Param("current") Integer current,@Param("time") String time,@Param("userName") String userName,@Param("laboratory") 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));
     }
@@ -111,6 +112,13 @@
         }
     }
 
+    @ApiOperation("鐝:鏌ヨ浜哄憳鍒楄〃")
+    @GetMapping("/getUserList")
+    public Result<?> getUserList(){
+        return Result.success(performanceShiftService.getUserList());
+    }
+
+
     @ApiOperation(value = "涓存椂鎺ュ彛-娣诲姞7鏈堜唤8鏈堜唤鐨勬暟鎹�")
     @GetMapping("temporaryInterface")
     public void temporaryInterface() {

--
Gitblit v1.9.3