作者 tangxvhui

调整 周期评估 列表查询

@@ -39,7 +39,7 @@ func (d *SummaryEvaluationDao) GetExecutorCycleList(companyId int, executorId in @@ -39,7 +39,7 @@ 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=? 42 + where summary_evaluation.company_id=? and summary_evaluation.deleted_at isnull
43 ` 43 `
44 tx := d.transactionContext.PgTx 44 tx := d.transactionContext.PgTx
45 condition := []interface{}{ 45 condition := []interface{}{
@@ -64,7 +64,7 @@ func (d *SummaryEvaluationDao) CountExecutorCycleList(companyId int, executorId @@ -64,7 +64,7 @@ func (d *SummaryEvaluationDao) CountExecutorCycleList(companyId int, executorId
64 distinct summary_evaluation.cycle_id 64 distinct summary_evaluation.cycle_id
65 ) as cnt 65 ) as cnt
66 from summary_evaluation 66 from summary_evaluation
67 - where summary_evaluation.company_id=? ` 67 + where summary_evaluation.company_id=? and summary_evaluation.deleted_at isnull `
68 68
69 tx := d.transactionContext.PgTx 69 tx := d.transactionContext.PgTx
70 condition := []interface{}{ 70 condition := []interface{}{