From 66205d252d0d999bbe9b41397cf8a7181632939c Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期五, 14 三月 2025 15:45:59 +0800
Subject: [PATCH] 检验任务代码迁移&添加消息通知模块

---
 performance-server/src/main/java/com/ruoyi/performance/controller/PerformanceShiftController.java |   15 ++++++++++++---
 1 files changed, 12 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 01ba300..04d1c08 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,14 @@
         }
     }
 
+    @ApiOperation("鐝:鏌ヨ浜哄憳鍒楄〃")
+    @GetMapping("/getUserList")
+    public Result<?> getUserList(){
+        Map<String, List<Map<String, Object>>> userList = performanceShiftService.getUserList();
+        return Result.success(userList);
+    }
+
+
     @ApiOperation(value = "涓存椂鎺ュ彛-娣诲姞7鏈堜唤8鏈堜唤鐨勬暟鎹�")
     @GetMapping("temporaryInterface")
     public void temporaryInterface() {

--
Gitblit v1.9.3