diff --git a/pkg/common/db/mysql/group_model_k.go b/pkg/common/db/mysql/group_model_k.go index eb2af8277..a10bd2a41 100644 --- a/pkg/common/db/mysql/group_model_k.go +++ b/pkg/common/db/mysql/group_model_k.go @@ -16,6 +16,7 @@ type GroupModelInterface interface { Update(ctx context.Context, groups []*Group) (err error) Find(ctx context.Context, groupIDs []string) (groups []*Group, err error) Take(ctx context.Context, groupID string) (group *Group, err error) + DeleteTx(ctx context.Context, groupIDs []string) error //mongo } @@ -90,3 +91,6 @@ func (*Group) Take(ctx context.Context, groupID string) (group *Group, err error err = utils.Wrap(GroupDB.Where("group_id = ?", groupID).Take(group).Error, "") return group, err } +func (*Group) DeleteTx(ctx context.Context, groupIDs []string) error { + return nil +}