Merge branch 'test' into dev-tangxvhui
正在显示
2 个修改的文件
包含
2 行增加
和
0 行删除
@@ -1445,6 +1445,7 @@ func (srv *SummaryEvaluationService) ConfirmScoreEvaluation(param *command.Confi | @@ -1445,6 +1445,7 @@ func (srv *SummaryEvaluationService) ConfirmScoreEvaluation(param *command.Confi | ||
1445 | if err != nil { | 1445 | if err != nil { |
1446 | return application.ThrowError(application.TRANSACTION_ERROR, err.Error()) | 1446 | return application.ThrowError(application.TRANSACTION_ERROR, err.Error()) |
1447 | } | 1447 | } |
1448 | + | ||
1448 | if result.Types != domain.EvaluationFinish { | 1449 | if result.Types != domain.EvaluationFinish { |
1449 | return application.ThrowError(application.TRANSACTION_ERROR, "操作方式错误") | 1450 | return application.ThrowError(application.TRANSACTION_ERROR, "操作方式错误") |
1450 | } | 1451 | } |
@@ -171,6 +171,7 @@ func (d *SummaryEvaluationDao) ListEvaluationFinishNoResult() ([]SummaryEvaluati | @@ -171,6 +171,7 @@ func (d *SummaryEvaluationDao) ListEvaluationFinishNoResult() ([]SummaryEvaluati | ||
171 | and summary_evaluation.status ='completed' | 171 | and summary_evaluation.status ='completed' |
172 | and summary_evaluation.check_result ='uncompleted' | 172 | and summary_evaluation.check_result ='uncompleted' |
173 | and summary_evaluation.end_time <=now() | 173 | and summary_evaluation.end_time <=now() |
174 | + and summary_evaluation.deleted_at isnull | ||
174 | ` | 175 | ` |
175 | result := []SummaryEvaluationData1{} | 176 | result := []SummaryEvaluationData1{} |
176 | tx := d.transactionContext.PgTx | 177 | tx := d.transactionContext.PgTx |
-
请 注册 或 登录 后发表评论