正在显示
1 个修改的文件
包含
15 行增加
和
15 行删除
@@ -40,13 +40,13 @@ func (srv *SummaryEvaluationService) Evaluation360List(param *command.QueryEvalu | @@ -40,13 +40,13 @@ func (srv *SummaryEvaluationService) Evaluation360List(param *command.QueryEvalu | ||
40 | offset = 0 | 40 | offset = 0 |
41 | } | 41 | } |
42 | count, list, err := evaluationRepo.Find(map[string]interface{}{ | 42 | count, list, err := evaluationRepo.Find(map[string]interface{}{ |
43 | - "companyId": param.CompanyId, | ||
44 | - "cycleId": param.CycleId, | ||
45 | - "executorId": param.UserId, | ||
46 | - "types": domain.Evaluation360, | ||
47 | - "searchTargetName": searchTargetName, | ||
48 | - "limit": limit, | ||
49 | - "offset": offset, | 43 | + "companyId": param.CompanyId, |
44 | + "cycleId": param.CycleId, | ||
45 | + "executorId": param.UserId, | ||
46 | + "types": domain.Evaluation360, | ||
47 | + "targetUserName": searchTargetName, | ||
48 | + "limit": limit, | ||
49 | + "offset": offset, | ||
50 | }) | 50 | }) |
51 | if err != nil { | 51 | if err != nil { |
52 | return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) | 52 | return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) |
@@ -78,7 +78,7 @@ func (srv *SummaryEvaluationService) Evaluation360List(param *command.QueryEvalu | @@ -78,7 +78,7 @@ func (srv *SummaryEvaluationService) Evaluation360List(param *command.QueryEvalu | ||
78 | return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) | 78 | return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) |
79 | } | 79 | } |
80 | // 填写值 | 80 | // 填写值 |
81 | - _, valueList, err := itemValueRepo.Find(map[string]interface{}{"summaryEvaluationIds": ids}) | 81 | + _, valueList, err := itemValueRepo.Find(map[string]interface{}{"summaryEvaluationIdList": ids}) |
82 | if err != nil { | 82 | if err != nil { |
83 | return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) | 83 | return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) |
84 | } | 84 | } |
@@ -368,13 +368,13 @@ func (srv *SummaryEvaluationService) EvaluationHRBPList(param *command.QueryEval | @@ -368,13 +368,13 @@ func (srv *SummaryEvaluationService) EvaluationHRBPList(param *command.QueryEval | ||
368 | offset = 0 | 368 | offset = 0 |
369 | } | 369 | } |
370 | count, list, err := evaluationRepo.Find(map[string]interface{}{ | 370 | count, list, err := evaluationRepo.Find(map[string]interface{}{ |
371 | - "companyId": param.CompanyId, | ||
372 | - "cycleId": param.CycleId, | ||
373 | - "executorId": -1, | ||
374 | - "types": domain.EvaluationHrbp, | ||
375 | - "searchTargetName": searchTargetName, | ||
376 | - "limit": limit, | ||
377 | - "offset": offset, | 371 | + "companyId": param.CompanyId, |
372 | + "cycleId": param.CycleId, | ||
373 | + "executorId": -1, | ||
374 | + "types": domain.EvaluationHrbp, | ||
375 | + "targetUserName": searchTargetName, | ||
376 | + "limit": limit, | ||
377 | + "offset": offset, | ||
378 | }) | 378 | }) |
379 | if err != nil { | 379 | if err != nil { |
380 | return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) | 380 | return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) |
-
请 注册 或 登录 后发表评论