作者 tangxvhui

更新描述

... ... @@ -243,7 +243,7 @@ func (se *summaryEvaluationPublisher) sendSummaryEvaluationV2(
return nil, fmt.Errorf("获取员工的部门数据%s", err)
}
evaluationTemp.TargetDepartment = []domain.StaffDepartment{}
evaluationTemp.Types = domain.EvaluationSelf
for _, d := range targetUserDepartment {
evaluationTemp.TargetDepartment = append(evaluationTemp.TargetDepartment, domain.StaffDepartment{
DepartmentId: int(d.Id),
... ... @@ -257,6 +257,7 @@ func (se *summaryEvaluationPublisher) sendSummaryEvaluationV2(
}
//处理自评
{
evaluationTemp.Types = domain.EvaluationSelf
evaluationTemp.Executor = domain.StaffDesc{
UserId: int(targetUser.Id),
Account: targetUser.Account,
... ...