作者 tangxvhui

修复一些问题

@@ -5,5 +5,5 @@ type ListTargetUserAssessQuery struct { @@ -5,5 +5,5 @@ type ListTargetUserAssessQuery struct {
5 AssessTaskId int `json:"assessTaskId"` 5 AssessTaskId int `json:"assessTaskId"`
6 TargetUserId int `json:"targetUserId,string"` 6 TargetUserId int `json:"targetUserId,string"`
7 CompanyId int `json:"companyId"` 7 CompanyId int `json:"companyId"`
8 - Types []string `json:"tyspes"` 8 + Types []string `json:"types"`
9 } 9 }
@@ -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())