作者 tangxvhui

更新周期列表的获取

... ... @@ -39,7 +39,9 @@ func (d *SummaryEvaluationDao) GetExecutorCycleList(companyId int, executorId in
summary_evaluation.cycle_id ,
summary_evaluation.cycle_name
from summary_evaluation
where summary_evaluation.company_id=? and summary_evaluation.deleted_at isnull
where summary_evaluation.company_id=?
and summary_evaluation.begin_time <=now()
and summary_evaluation.deleted_at isnull
`
tx := d.transactionContext.PgTx
condition := []interface{}{
... ...