正在显示
1 个修改的文件
包含
4 行增加
和
0 行删除
@@ -855,6 +855,10 @@ func (srv *SummaryEvaluationService) ModifyFinishScore(param *command.ModifyFini | @@ -855,6 +855,10 @@ func (srv *SummaryEvaluationService) ModifyFinishScore(param *command.ModifyFini | ||
855 | evaluationData.TotalScore = scoreStr | 855 | evaluationData.TotalScore = scoreStr |
856 | evaluationData.Status = domain.EvaluationCompleted | 856 | evaluationData.Status = domain.EvaluationCompleted |
857 | evaluationData.CheckResult = domain.EvaluationCheckCompleted | 857 | evaluationData.CheckResult = domain.EvaluationCheckCompleted |
858 | + err = evaluationRepo.Save(evaluationData) | ||
859 | + if err != nil { | ||
860 | + return application.ThrowError(application.BUSINESS_ERROR, "修改考核结果"+err.Error()) | ||
861 | + } | ||
858 | if err := transactionContext.CommitTransaction(); err != nil { | 862 | if err := transactionContext.CommitTransaction(); err != nil { |
859 | return application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) | 863 | return application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) |
860 | } | 864 | } |
-
请 注册 或 登录 后发表评论