作者 tangxvhui

修改汇总逻辑

@@ -1706,10 +1706,8 @@ func (srv *SummaryEvaluationService) GetTargetEvaluationResult(param *command.Qu @@ -1706,10 +1706,8 @@ func (srv *SummaryEvaluationService) GetTargetEvaluationResult(param *command.Qu
1706 codeList := make([]*adapter.LevalCodeCount, 0) 1706 codeList := make([]*adapter.LevalCodeCount, 0)
1707 codeMap := map[string]*adapter.LevalCodeCount{} 1707 codeMap := map[string]*adapter.LevalCodeCount{}
1708 for _, v := range itemValuesAdapter { 1708 for _, v := range itemValuesAdapter {
1709 - if len(v.Value) == 0 {  
1710 - continue  
1711 - }  
1712 - if v.Weight == 0 { 1709 + //处理加分项评级汇总
  1710 + if v.Weight == 0 && len(v.Value) > 0 {
1713 if _, ok := codeMap[v.Value]; !ok { 1711 if _, ok := codeMap[v.Value]; !ok {
1714 code := &adapter.LevalCodeCount{ 1712 code := &adapter.LevalCodeCount{
1715 Code: v.Value, 1713 Code: v.Value,