From eeb8d7faa8d25b3ca9fe75ef28f035c49af5b06d Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期二, 11 三月 2025 11:05:38 +0800
Subject: [PATCH] Merge branch 'dev' into dev_zj

---
 performance-server/src/main/java/com/ruoyi/performance/controller/PerformanceShiftController.java |   16 ++++++++++++----
 1 files changed, 12 insertions(+), 4 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..26b0197 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,11 +112,18 @@
         }
     }
 
+    @ApiOperation("鐝:鏌ヨ浜哄憳鍒楄〃")
+    @GetMapping("/getUserList")
+    public Result<?> getUserList(){
+        return Result.success(performanceShiftService.getUserList());
+    }
+
+
     @ApiOperation(value = "涓存椂鎺ュ彛-娣诲姞7鏈堜唤8鏈堜唤鐨勬暟鎹�")
     @GetMapping("temporaryInterface")
     public void temporaryInterface() {
         System.out.println("寮�濮嬬粰姣忎釜浜鸿繘琛屾帓鐝�,榛樿鏃╃彮======start");
-        // TODO 缁欐瘡涓汉閮借繘琛屾帓鐝�(榛樿鏃╃彮)
+        // 缁欐瘡涓汉閮借繘琛屾帓鐝�(榛樿鏃╃彮)
         PerformanceShiftAddDto performanceShiftAddDto = new PerformanceShiftAddDto();
         //鐝--鏃�(鏌ヨ瀛楀吀)
         List<SysDictData> shiftType = dictTypeService.selectDictDataByName("鐝绫诲瀷");

--
Gitblit v1.9.3