...
|
...
|
@@ -1686,10 +1686,6 @@ func (srv *SummaryEvaluationService) GetTargetEvaluationResult(param *command.Qu |
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
// 基础数据
|
|
|
evaluationBase := srv.getSummaryEvaluation(transactionContext, result)
|
|
|
|
|
|
// 未完成考核,需要重新计算分数
|
|
|
if result.CheckResult == domain.EvaluationCheckUncompleted {
|
|
|
if err = result.EvaluationTotalScore(itemValues); err != nil {
|
...
|
...
|
@@ -1697,6 +1693,9 @@ func (srv *SummaryEvaluationService) GetTargetEvaluationResult(param *command.Qu |
|
|
}
|
|
|
}
|
|
|
|
|
|
// 基础数据
|
|
|
evaluationBase := srv.getSummaryEvaluation(transactionContext, result)
|
|
|
|
|
|
if err := transactionContext.CommitTransaction(); err != nil {
|
|
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error())
|
|
|
}
|
...
|
...
|
|