正在显示
1 个修改的文件
包含
8 行增加
和
8 行删除
@@ -183,7 +183,7 @@ func (srv *SummaryEvaluationService) AfterCompletedEvaluation360Hrbp( | @@ -183,7 +183,7 @@ func (srv *SummaryEvaluationService) AfterCompletedEvaluation360Hrbp( | ||
183 | return application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) | 183 | return application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) |
184 | } | 184 | } |
185 | 185 | ||
186 | - noSuper := (len(evaluationList) == 0) | 186 | + //noSuper := (len(evaluationList) == 0) |
187 | 187 | ||
188 | _, evaluationFinishList, err := evaluationRepo.Find(map[string]interface{}{ | 188 | _, evaluationFinishList, err := evaluationRepo.Find(map[string]interface{}{ |
189 | "targetUserId": evaluationData.TargetUser.UserId, | 189 | "targetUserId": evaluationData.TargetUser.UserId, |
@@ -196,13 +196,13 @@ func (srv *SummaryEvaluationService) AfterCompletedEvaluation360Hrbp( | @@ -196,13 +196,13 @@ func (srv *SummaryEvaluationService) AfterCompletedEvaluation360Hrbp( | ||
196 | } | 196 | } |
197 | if !allCompleted { | 197 | if !allCompleted { |
198 | //仅同步评估内容到考核结果 | 198 | //仅同步评估内容到考核结果 |
199 | - if noSuper && len(evaluationFinishList) > 0 { | ||
200 | - //不存在上级评估 | ||
201 | - err = srv.syncEvaluationFinishValue(transactionContext, evaluationFinishList[0], evaluationValue) | ||
202 | - if err != nil { | ||
203 | - return err | ||
204 | - } | ||
205 | - } | 199 | + // if noSuper && len(evaluationFinishList) > 0 { |
200 | + // //不存在上级评估 | ||
201 | + // err = srv.syncEvaluationFinishValue(transactionContext, evaluationFinishList[0], evaluationValue) | ||
202 | + // if err != nil { | ||
203 | + // return err | ||
204 | + // } | ||
205 | + // } | ||
206 | return nil | 206 | return nil |
207 | } | 207 | } |
208 | 208 |
-
请 注册 或 登录 后发表评论