正在显示
1 个修改的文件
包含
3 行增加
和
1 行删除
@@ -198,6 +198,9 @@ func (srv *SummaryEvaluationService) syncEvaluationFinishValue( | @@ -198,6 +198,9 @@ func (srv *SummaryEvaluationService) syncEvaluationFinishValue( | ||
198 | if len(updateValue) == 0 { | 198 | if len(updateValue) == 0 { |
199 | return nil | 199 | return nil |
200 | } | 200 | } |
201 | + if evaluationData.CheckResult == domain.EvaluationCheckCompleted { | ||
202 | + return nil | ||
203 | + } | ||
201 | evaluationRepo := factory.CreateSummaryEvaluationRepository(map[string]interface{}{ | 204 | evaluationRepo := factory.CreateSummaryEvaluationRepository(map[string]interface{}{ |
202 | "transactionContext": transactionContext, | 205 | "transactionContext": transactionContext, |
203 | }) | 206 | }) |
@@ -214,7 +217,6 @@ func (srv *SummaryEvaluationService) syncEvaluationFinishValue( | @@ -214,7 +217,6 @@ func (srv *SummaryEvaluationService) syncEvaluationFinishValue( | ||
214 | if err != nil { | 217 | if err != nil { |
215 | return application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) | 218 | return application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) |
216 | } | 219 | } |
217 | - | ||
218 | //填写项的map EvaluationItemId =>SummaryEvaluationValue | 220 | //填写项的map EvaluationItemId =>SummaryEvaluationValue |
219 | oldEvaluationValue := map[int]*domain.SummaryEvaluationValue{} | 221 | oldEvaluationValue := map[int]*domain.SummaryEvaluationValue{} |
220 | //查询已有的考核结果评估内容 | 222 | //查询已有的考核结果评估内容 |
-
请 注册 或 登录 后发表评论