正在显示
1 个修改的文件
包含
4 行增加
和
4 行删除
@@ -104,11 +104,11 @@ func (srv *SummaryEvaluationService) Evaluation360List(param *command.QueryEvalu | @@ -104,11 +104,11 @@ func (srv *SummaryEvaluationService) Evaluation360List(param *command.QueryEvalu | ||
104 | uniqueColumnsMap[name] = key | 104 | uniqueColumnsMap[name] = key |
105 | } | 105 | } |
106 | 106 | ||
107 | - if pList, ok := itemMap[item.EvaluationProjectId]; !ok { | ||
108 | - itemMap[item.EvaluationProjectId] = make([]*domain.EvaluationItemUsed, 0) | ||
109 | - } else { | ||
110 | - itemMap[item.EvaluationProjectId] = append(pList, item) | 107 | + pList, ok := itemMap[item.EvaluationProjectId] |
108 | + if !ok { | ||
109 | + pList = make([]*domain.EvaluationItemUsed, 0) | ||
111 | } | 110 | } |
111 | + itemMap[item.EvaluationProjectId] = append(pList, item) | ||
112 | } | 112 | } |
113 | } | 113 | } |
114 | 114 |
-
请 注册 或 登录 后发表评论