正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
@@ -70,6 +70,7 @@ func (srv *SummaryEvaluationService) ExportAllEvaluationSuper(param *command.Que | @@ -70,6 +70,7 @@ func (srv *SummaryEvaluationService) ExportAllEvaluationSuper(param *command.Que | ||
70 | if err != nil { | 70 | if err != nil { |
71 | return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) | 71 | return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) |
72 | } | 72 | } |
73 | + userMap = map[int64]*domain.User{} | ||
73 | for _, v := range userList { | 74 | for _, v := range userList { |
74 | userMap[v.Id] = v | 75 | userMap[v.Id] = v |
75 | } | 76 | } |
@@ -91,6 +92,7 @@ func (srv *SummaryEvaluationService) ExportAllEvaluationSuper(param *command.Que | @@ -91,6 +92,7 @@ func (srv *SummaryEvaluationService) ExportAllEvaluationSuper(param *command.Que | ||
91 | if err != nil { | 92 | if err != nil { |
92 | return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "获取部门信息"+err.Error()) | 93 | return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "获取部门信息"+err.Error()) |
93 | } | 94 | } |
95 | + positionMap = map[int64]*domain.Position{} | ||
94 | for _, v := range positionList { | 96 | for _, v := range positionList { |
95 | positionMap[v.Id] = v | 97 | positionMap[v.Id] = v |
96 | } | 98 | } |
-
请 注册 或 登录 后发表评论