作者 郑周

1. 修复map存放的数组扩容,导致的数据指向错误

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