正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
@@ -1518,6 +1518,8 @@ func (srv *SummaryEvaluationService) ConfirmScoreEvaluation(param *command.Confi | @@ -1518,6 +1518,8 @@ func (srv *SummaryEvaluationService) ConfirmScoreEvaluation(param *command.Confi | ||
1518 | return application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) | 1518 | return application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) |
1519 | } | 1519 | } |
1520 | } | 1520 | } |
1521 | + //重置评级汇总 | ||
1522 | + result.TotalRating = nil | ||
1521 | for i := range itemList { | 1523 | for i := range itemList { |
1522 | result.ResetTotalRating(itemList[i]) | 1524 | result.ResetTotalRating(itemList[i]) |
1523 | } | 1525 | } |
@@ -1690,6 +1692,7 @@ func (srv *SummaryEvaluationService) GetTargetEvaluationResult(param *command.Qu | @@ -1690,6 +1692,7 @@ func (srv *SummaryEvaluationService) GetTargetEvaluationResult(param *command.Qu | ||
1690 | } | 1692 | } |
1691 | // 未完成考核,需要重新计算分数 | 1693 | // 未完成考核,需要重新计算分数 |
1692 | if result.CheckResult == domain.EvaluationCheckUncompleted { | 1694 | if result.CheckResult == domain.EvaluationCheckUncompleted { |
1695 | + result.TotalRating = nil | ||
1693 | for i := range itemList { | 1696 | for i := range itemList { |
1694 | result.ResetTotalRating(itemList[i]) | 1697 | result.ResetTotalRating(itemList[i]) |
1695 | } | 1698 | } |
-
请 注册 或 登录 后发表评论