diff --git a/domain/model/groupPower_m/group_info.go b/domain/model/groupPower_m/group_info.go index 71d6bf526b8e6fb88d46dff2d8f64dabade38d17..dafcd6c3fec8348a07fb3b14b5209fc0a45dc34a 100644 --- a/domain/model/groupPower_m/group_info.go +++ b/domain/model/groupPower_m/group_info.go @@ -27,5 +27,8 @@ func MGetGroupPowerInfoMap(model *domain.Model, groupPowerIds []mysql.ID) (map[m model.Log.Errorf("MGetGroupPowerInfo fail:%v", err) return res, err } + for i, v := range rows { + res[v.ID] = rows[i] + } return res, nil }