作者 tangxvhui

更新描述

@@ -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,