Merge branch 'dev-zhengzhou' into test
正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
@@ -150,12 +150,12 @@ func (d *SummaryEvaluationDao) TargetUnconfirmedCycleList(companyId int, executo | @@ -150,12 +150,12 @@ func (d *SummaryEvaluationDao) TargetUnconfirmedCycleList(companyId int, executo | ||
150 | and summary_evaluation.company_id='?' | 150 | and summary_evaluation.company_id='?' |
151 | and summary_evaluation.target_user ->>'userId'='?' | 151 | and summary_evaluation.target_user ->>'userId'='?' |
152 | and summary_evaluation.types='?' | 152 | and summary_evaluation.types='?' |
153 | - and summary_evaluation.status='?' | ||
154 | - and summary_evaluation.check_result='?' | 153 | + and summary_evaluation.status=? |
154 | + and summary_evaluation.check_result=? | ||
155 | ` | 155 | ` |
156 | tx := d.transactionContext.PgTx | 156 | tx := d.transactionContext.PgTx |
157 | condition := []interface{}{companyId, executorId, domain.EvaluationFinish, domain.EvaluationCompleted, domain.EvaluationCheckUncompleted} | 157 | condition := []interface{}{companyId, executorId, domain.EvaluationFinish, domain.EvaluationCompleted, domain.EvaluationCheckUncompleted} |
158 | - sqlStr += ` order by summary_evaluation.begin_time desc ` | 158 | + sqlStr += ` order by summary_evaluation.begin_time desc;` |
159 | result := make([]TargetUserCycle, 0) | 159 | result := make([]TargetUserCycle, 0) |
160 | _, err := tx.Query(&result, sqlStr, condition...) | 160 | _, err := tx.Query(&result, sqlStr, condition...) |
161 | return result, err | 161 | return result, err |
-
请 注册 或 登录 后发表评论