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