Commit a1e5c25d7094b1424bba2ac50d21e973dead139e

Authored by 姜超
2 parents 9990b9e0 36ec8cd1

Merge branch 'test' into 'main'

修改个人考评

修改个人考评

See merge request !129
fw-morax-server/src/main/java/cn/fw/morax/server/controller/app/EvalPoolController.java
@@ -71,23 +71,6 @@ public class EvalPoolController { @@ -71,23 +71,6 @@ public class EvalPoolController {
71 } 71 }
72 72
73 /** 73 /**
74 - * 人员信息  
75 - *  
76 - * @return  
77 - * @ignoreParams currentUser  
78 - */  
79 - @GetMapping("/staff-info")  
80 - @ControllerMethod("人员信息")  
81 - public Message<EvalUserPoolVO> queryUser(@CurrentUser LoginAuthBean user) {  
82 - EvalUserPoolVO poolVO = new EvalUserPoolVO();  
83 - if (PublicUtil.isNotEmpty(user)) {  
84 - poolVO.setUserId(user.getUserId());  
85 - poolVO.setUserName(user.getUserName());  
86 - }  
87 - return success(poolVO);  
88 - }  
89 -  
90 - /**  
91 * 本月可查看的其他考评池选项 74 * 本月可查看的其他考评池选项
92 * 75 *
93 * @param user 用户id 76 * @param user 用户id
@@ -107,7 +90,8 @@ public class EvalPoolController { @@ -107,7 +90,8 @@ public class EvalPoolController {
107 if (Objects.isNull(userId)) { 90 if (Objects.isNull(userId)) {
108 userId = user.getUserId(); 91 userId = user.getUserId();
109 } 92 }
110 - return success(evalGroupPoolService.evalPoolSelector(userId, monthly)); 93 +// return success(evalGroupPoolService.evalPoolSelector(userId, monthly));
  94 + return success();
111 } 95 }
112 96
113 /** 97 /**
@@ -115,11 +99,11 @@ public class EvalPoolController { @@ -115,11 +99,11 @@ public class EvalPoolController {
115 */ 99 */
116 @GetMapping("/own-detail") 100 @GetMapping("/own-detail")
117 @ControllerMethod("考评详情查询") 101 @ControllerMethod("考评详情查询")
118 - public Message<List<EvalUserRankStageVO>> evalPoolOwnDetail(@CurrentUser Long userId,  
119 - @Valid EvalUserRankDTO dto) {  
120 - dto.initMonthly();  
121 - dto.setUserId(userId);  
122 - return success(evalGroupPoolService.queryRankStagePools(dto)); 102 + public Message<List<EvalUserRankStageVO>> evalPoolOwnDetail(@CurrentUser Long userId) {
  103 +// dto.initMonthly();
  104 +// dto.setUserId(userId);
  105 +// return success(evalGroupPoolService.queryRankStagePools(dto));
  106 + return success();
123 } 107 }
124 108
125 /** 109 /**
@@ -133,7 +117,8 @@ public class EvalPoolController { @@ -133,7 +117,8 @@ public class EvalPoolController {
133 if (PublicUtil.isEmpty(dto.getUserId())) { 117 if (PublicUtil.isEmpty(dto.getUserId())) {
134 throw new BusinessException("人员信息不能为空"); 118 throw new BusinessException("人员信息不能为空");
135 } 119 }
136 - return success(evalGroupPoolService.queryRankStagePools(dto)); 120 +// return success(evalGroupPoolService.queryRankStagePools(dto));
  121 + return success();
137 } 122 }
138 123
139 /** 124 /**