作者 tangxvhui

微调

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