正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
@@ -243,7 +243,7 @@ func (se *summaryEvaluationPublisher) sendSummaryEvaluationV2( | @@ -243,7 +243,7 @@ func (se *summaryEvaluationPublisher) sendSummaryEvaluationV2( | ||
243 | return nil, fmt.Errorf("获取员工的部门数据%s", err) | 243 | return nil, fmt.Errorf("获取员工的部门数据%s", err) |
244 | } | 244 | } |
245 | evaluationTemp.TargetDepartment = []domain.StaffDepartment{} | 245 | evaluationTemp.TargetDepartment = []domain.StaffDepartment{} |
246 | - evaluationTemp.Types = domain.EvaluationSelf | 246 | + |
247 | for _, d := range targetUserDepartment { | 247 | for _, d := range targetUserDepartment { |
248 | evaluationTemp.TargetDepartment = append(evaluationTemp.TargetDepartment, domain.StaffDepartment{ | 248 | evaluationTemp.TargetDepartment = append(evaluationTemp.TargetDepartment, domain.StaffDepartment{ |
249 | DepartmentId: int(d.Id), | 249 | DepartmentId: int(d.Id), |
@@ -257,6 +257,7 @@ func (se *summaryEvaluationPublisher) sendSummaryEvaluationV2( | @@ -257,6 +257,7 @@ func (se *summaryEvaluationPublisher) sendSummaryEvaluationV2( | ||
257 | } | 257 | } |
258 | //处理自评 | 258 | //处理自评 |
259 | { | 259 | { |
260 | + evaluationTemp.Types = domain.EvaluationSelf | ||
260 | evaluationTemp.Executor = domain.StaffDesc{ | 261 | evaluationTemp.Executor = domain.StaffDesc{ |
261 | UserId: int(targetUser.Id), | 262 | UserId: int(targetUser.Id), |
262 | Account: targetUser.Account, | 263 | Account: targetUser.Account, |
-
请 注册 或 登录 后发表评论