...
|
...
|
@@ -104,10 +104,9 @@ func (srv *SummaryEvaluationService) Evaluation360List(param *command.QueryEvalu |
|
|
}
|
|
|
|
|
|
if pList, ok := itemMap[item.EvaluationProjectId]; !ok {
|
|
|
pList = make([]*domain.EvaluationItemUsed, 0)
|
|
|
itemMap[item.EvaluationProjectId] = pList
|
|
|
itemMap[item.EvaluationProjectId] = make([]*domain.EvaluationItemUsed, 0)
|
|
|
} else {
|
|
|
pList = append(pList, item)
|
|
|
itemMap[item.EvaluationProjectId] = append(pList, item)
|
|
|
}
|
|
|
}
|
|
|
}
|
...
|
...
|
@@ -148,7 +147,7 @@ func (srv *SummaryEvaluationService) Evaluation360List(param *command.QueryEvalu |
|
|
if key, ok := uniqueColumnsMap[name]; ok { // 动态列用name -> key
|
|
|
valueKey := fmt.Sprintf("%d-%d", v.Id, item.Id)
|
|
|
if it, ok := valueMap[valueKey]; ok {
|
|
|
rowMap[key] = it.Score
|
|
|
rowMap[key] = it.Value
|
|
|
} else {
|
|
|
rowMap[key] = ""
|
|
|
}
|
...
|
...
|
|