test-errcode
withchao 2 years ago
parent 601fac7a04
commit c760b520ff

@ -59,7 +59,7 @@ func (g *Group) Update(ctx context.Context, groups []*Group, tx ...*gorm.DB) (er
defer func() {
trace_log.SetCtxDebug(ctx, utils.GetFuncName(1), err, "groups", groups)
}()
return utils.Wrap(getDBConn(g.DB, tx...).Updates(&groups).Error, "")
return utils.Wrap(getDBConn(g.DB, tx).Updates(&groups).Error, "")
}
func (g *Group) Find(ctx context.Context, groupIDs []string) (groups []*Group, err error) {

Loading…
Cancel
Save