Skip to content

Commit

Permalink
polish
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesChenX committed Jul 30, 2024
1 parent efffb84 commit 4b6a631
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,12 @@ public Flux<Long> findUserJoinedGroupIds(Long userId) {
}

public Flux<Long> findUsersJoinedGroupIds(
@Nullable Set<Long> groupIds,
@NotEmpty Set<Long> userIds,
@Nullable Integer page,
@Nullable Integer size) {
Filter filter = Filter.newBuilder(1)
Filter filter = Filter.newBuilder(2)
.inIfNotNull(GroupMember.Fields.ID_GROUP_ID, groupIds)
.inIfNotNull(GroupMember.Fields.ID_USER_ID, userIds);
QueryOptions options = QueryOptions.newBuilder(3)
.paginateIfNotNull(page, size)
Expand Down

0 comments on commit 4b6a631

Please sign in to comment.