...
|
...
|
@@ -178,6 +178,7 @@ type TargetUserCycleProject struct { |
|
|
CycleName string `pg:"cycle_name" json:"cycleName"` //周期名称
|
|
|
EvaluationProjectId string `pg:"evaluation_project_id" json:"evaluationProjectId"`
|
|
|
EvaluationProjectName string `pg:"evaluation_project_name" json:"evaluationProjectName"`
|
|
|
TargetUserId string `pg:"target_user_id" json:"targetUserId"`
|
|
|
}
|
|
|
|
|
|
// 获取目标员工的自评周期和项目
|
...
|
...
|
@@ -186,6 +187,7 @@ func (d *StaffAssessDao) SearchTargetUserCycleProject(companyId int, targetUserI |
|
|
staff_assess.cycle_name,
|
|
|
staff_assess.cycle_id ,
|
|
|
staff_assess.evaluation_project_id,
|
|
|
staff_assess.target_user ->>'userId' as target_user_id,
|
|
|
staff_assess.evaluation_project_name
|
|
|
from staff_assess ,staff_assess_task
|
|
|
where 1=1
|
...
|
...
|
|