作者 郑周

字段对齐

... ... @@ -40,13 +40,13 @@ func (srv *SummaryEvaluationService) Evaluation360List(param *command.QueryEvalu
offset = 0
}
count, list, err := evaluationRepo.Find(map[string]interface{}{
"companyId": param.CompanyId,
"cycleId": param.CycleId,
"executorId": param.UserId,
"types": domain.Evaluation360,
"searchTargetName": searchTargetName,
"limit": limit,
"offset": offset,
"companyId": param.CompanyId,
"cycleId": param.CycleId,
"executorId": param.UserId,
"types": domain.Evaluation360,
"targetUserName": searchTargetName,
"limit": limit,
"offset": offset,
})
if err != nil {
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error())
... ... @@ -78,7 +78,7 @@ func (srv *SummaryEvaluationService) Evaluation360List(param *command.QueryEvalu
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error())
}
// 填写值
_, valueList, err := itemValueRepo.Find(map[string]interface{}{"summaryEvaluationIds": ids})
_, valueList, err := itemValueRepo.Find(map[string]interface{}{"summaryEvaluationIdList": ids})
if err != nil {
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error())
}
... ... @@ -368,13 +368,13 @@ func (srv *SummaryEvaluationService) EvaluationHRBPList(param *command.QueryEval
offset = 0
}
count, list, err := evaluationRepo.Find(map[string]interface{}{
"companyId": param.CompanyId,
"cycleId": param.CycleId,
"executorId": -1,
"types": domain.EvaluationHrbp,
"searchTargetName": searchTargetName,
"limit": limit,
"offset": offset,
"companyId": param.CompanyId,
"cycleId": param.CycleId,
"executorId": -1,
"types": domain.EvaluationHrbp,
"targetUserName": searchTargetName,
"limit": limit,
"offset": offset,
})
if err != nil {
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error())
... ...