正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -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{}{ |
-
请 注册 或 登录 后发表评论