|
@@ -1780,10 +1780,10 @@ func (srv StaffAssessServeice) ListTargetUserAssess(param *query.ListTargetUserA |
|
@@ -1780,10 +1780,10 @@ func (srv StaffAssessServeice) ListTargetUserAssess(param *query.ListTargetUserA |
1780
|
})
|
1780
|
})
|
1781
|
//获取员工的评估
|
1781
|
//获取员工的评估
|
1782
|
cnt, assessList, err := assessReps.Find(map[string]interface{}{
|
1782
|
cnt, assessList, err := assessReps.Find(map[string]interface{}{
|
1783
|
- "assessTaskId": param.AssessTaskId,
|
|
|
1784
|
- "companyId": param.CompanyId,
|
|
|
1785
|
- "targetUserId": param.TargetUserId,
|
|
|
1786
|
- "typesList": param.Types,
|
1783
|
+ "staffAssessTaskId": param.AssessTaskId,
|
|
|
1784
|
+ "companyId": param.CompanyId,
|
|
|
1785
|
+ "targetUserId": param.TargetUserId,
|
|
|
1786
|
+ "typesList": param.Types,
|
1787
|
})
|
1787
|
})
|
1788
|
if err != nil {
|
1788
|
if err != nil {
|
1789
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "获取员工的评估"+err.Error())
|
1789
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "获取员工的评估"+err.Error())
|