作者 tangxvhui

更评级汇总

... ... @@ -1518,6 +1518,8 @@ func (srv *SummaryEvaluationService) ConfirmScoreEvaluation(param *command.Confi
return application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error())
}
}
//重置评级汇总
result.TotalRating = nil
for i := range itemList {
result.ResetTotalRating(itemList[i])
}
... ... @@ -1690,6 +1692,7 @@ func (srv *SummaryEvaluationService) GetTargetEvaluationResult(param *command.Qu
}
// 未完成考核,需要重新计算分数
if result.CheckResult == domain.EvaluationCheckUncompleted {
result.TotalRating = nil
for i := range itemList {
result.ResetTotalRating(itemList[i])
}
... ...