作者 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,7 +1780,7 @@ func (srv StaffAssessServeice) ListTargetUserAssess(param *query.ListTargetUserA @@ -1780,7 +1780,7 @@ 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, 1783 + "staffAssessTaskId": param.AssessTaskId,
1784 "companyId": param.CompanyId, 1784 "companyId": param.CompanyId,
1785 "targetUserId": param.TargetUserId, 1785 "targetUserId": param.TargetUserId,
1786 "typesList": param.Types, 1786 "typesList": param.Types,