From f00a793327da566a519a5cab63a04869e7f0bc5d Mon Sep 17 00:00:00 2001
From: weicd <weicd@yhzhg.cn>
Date: Wed, 27 Dec 2023 08:14:30 +0000
Subject: [PATCH] 首页统计图和绩效时长不统一

---
 eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/system/rest/UserController.java |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/system/rest/UserController.java b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/system/rest/UserController.java
index 2051c90..34242bc 100644
--- a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/system/rest/UserController.java
+++ b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/system/rest/UserController.java
@@ -38,6 +38,7 @@
 import me.zhengjie.utils.*;
 import me.zhengjie.modules.system.service.UserService;
 import me.zhengjie.utils.enums.CodeEnum;
+import org.springframework.cache.annotation.CacheEvict;
 import org.springframework.data.domain.Pageable;
 import org.springframework.http.HttpStatus;
 import org.springframework.http.ResponseEntity;
@@ -274,6 +275,11 @@
         return new ResponseEntity<>(userService.getUserByTaskId(taskId),HttpStatus.OK);
     }
 
+    @GetMapping("/getAllUser")
+    public ResponseEntity<Object> getAllUserByTaskId(String taskId){
+        return new ResponseEntity<>(userService.getAllUserByTaskId(taskId),HttpStatus.OK);
+    }
+
 
     @GetMapping("/getUserDept")
     public ResponseEntity<Object> getAllUserDetail(){
@@ -291,7 +297,7 @@
     }
 
     @GetMapping("/getPerformanceDetail")
-    public ResponseEntity<Object> getPerformanceDetail(Long nextMonth) {
+    public ResponseEntity<Object> getPerformanceDetail(Long nextMonth) throws ParseException {
         return new ResponseEntity<>(userService.getPerformanceDetail(nextMonth),HttpStatus.OK);
 
     }

--
Gitblit v1.9.3