diff --git a/domain/model/groupPower_m/groupPower.go b/domain/model/groupPower_m/groupPower.go index 723cb6578708f61bbc5c3b1c004000815773ec5a..31a61988275c3079412b24e071e60cf469cd201a 100644 --- a/domain/model/groupPower_m/groupPower.go +++ b/domain/model/groupPower_m/groupPower.go @@ -367,7 +367,7 @@ func GetGroupPowerNames(db *gorm.DB, ids []mysql.ID) (map[mysql.ID]string, map[m } for _, i := range rows { result[i.Id] = i.Name - result[i.Id] = i.Nameplate + result2[i.Id] = i.Nameplate } return result, result2, nil }