作者 tangxvhui

微调

... ... @@ -36,7 +36,6 @@ func (d *SummaryEvaluationDao) GetExecutorCycleList(executorId int, offset int,
from summary_evaluation
where summary_evaluation.executor ->>'userId'='?'
`
tx := d.transactionContext.PgTx
condition := []interface{}{
executorId,
... ...
... ... @@ -20,7 +20,7 @@ type EvaluationItemUsed struct {
PromptTitle string //提示项标题
PromptText string //提示项正文
EntryItems []*domain.EntryItem //填写的反馈
RuleType int //评估方式(0评级、1评分)
RuleType int `pg:",use_zero"` //评估方式(0评级、1评分)
Rule domain.EvaluationRule //评估的选项规则
EvaluatorId int // 项目评估人ID ( 0=无评估人、-1=HRBP )
Weight float64 //"权重"
... ...