作者 tangxvhui

更新周期列表的获取

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