test-errcode
withchao 2 years ago
parent 20fc982f1f
commit ea8e5b241e

@ -48,5 +48,5 @@ func (g *GroupRequestGorm) Page(ctx context.Context, userID string, pageNumber,
}
func (g *GroupRequestGorm) PageGroup(ctx context.Context, groupIDs []string, pageNumber, showNumber int32) (total uint32, groups []*relation.GroupRequestModel, err error) {
return ormutil.GormPage[relation.GroupRequestModel](g.DB.WithContext(ctx).Where("group_id = ?", groupIDs), pageNumber, showNumber)
return ormutil.GormPage[relation.GroupRequestModel](g.DB.WithContext(ctx).Where("group_id in ?", groupIDs), pageNumber, showNumber)
}

Loading…
Cancel
Save