作者 tangxvhui

更评级汇总

@@ -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 }