...
|
...
|
@@ -156,6 +156,7 @@ func (d *StaffAssessDao) AllAssessCycleDayList(companyId int, cycleId int) ([]As |
|
|
//获取员工填写评估内容
|
|
|
type UserAssessContent struct {
|
|
|
AssessId string `json:"assessId"`
|
|
|
ContentId int `json:"contentId"`
|
|
|
TargetUserId string `json:"targetUserId"` //被评估人的id
|
|
|
TargetUserName string `json:"targetUserName"` //被评估人的名称
|
|
|
BeginDay string `json:"beginDay"` //评估的日期
|
...
|
...
|
@@ -196,7 +197,7 @@ func (d *StaffAssessDao) SearchUserAssessContent(param SearchConditin1) ([]UserA |
|
|
}
|
|
|
sqlStr := ` select
|
|
|
t_staff_assess_1.target_user_id,t_staff_assess_1.target_user_name,t_staff_assess_1.begin_day,
|
|
|
t_staff_assess_1.assess_id,
|
|
|
t_staff_assess_1.assess_id,staff_assess_content.id as content_id,
|
|
|
staff_assess_content.value ,staff_assess_content.sort_by ,
|
|
|
staff_assess_content.category ,staff_assess_content."name" as content_name ,
|
|
|
staff_assess_content.weight
|
...
|
...
|
@@ -348,7 +349,7 @@ func (d *StaffAssessDao) ExportDataUserAssess(param SearchConditin1) ([]ExportDa |
|
|
}
|
|
|
sqlStr := ` select
|
|
|
t_staff_assess_1.target_user_id,t_staff_assess_1.target_user_name,t_staff_assess_1.begin_day,
|
|
|
t_staff_assess_1.assess_id,
|
|
|
t_staff_assess_1.assess_id,staff_assess_content.id as content_id,
|
|
|
staff_assess_content.value ,staff_assess_content.sort_by ,
|
|
|
staff_assess_content.category ,staff_assess_content."name" as content_name ,
|
|
|
staff_assess_content.weight,staff_assess_content.prompt_text ,staff_assess_content.remark
|
...
|
...
|
|