Commit 281d866a authored by hujiebin's avatar hujiebin

Update groupPower.go

parent b0c3b872
...@@ -367,7 +367,7 @@ func GetGroupPowerNames(db *gorm.DB, ids []mysql.ID) (map[mysql.ID]string, map[m ...@@ -367,7 +367,7 @@ func GetGroupPowerNames(db *gorm.DB, ids []mysql.ID) (map[mysql.ID]string, map[m
} }
for _, i := range rows { for _, i := range rows {
result[i.Id] = i.Name result[i.Id] = i.Name
result[i.Id] = i.Nameplate result2[i.Id] = i.Nameplate
} }
return result, result2, nil return result, result2, nil
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment