Skip to content

Commit

Permalink
v1.4.1 (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sangwook02 authored Mar 2, 2024
2 parents 5e05079 + 2f088a0 commit 6088ab5
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ public Page<Member> findAllByPaymentStatus(
.where(
queryOption(queryRequest),
eqStatus(MemberStatus.NORMAL),
eqRequirementStatus(member.requirement.paymentStatus, paymentStatus))
eqRequirementStatus(member.requirement.paymentStatus, paymentStatus),
isStudentIdNotNull())
.offset(pageable.getOffset())
.limit(pageable.getPageSize())
.orderBy(member.createdAt.desc())
Expand Down Expand Up @@ -210,4 +211,8 @@ private BooleanExpression eqDiscordUsername(String discordUsername) {
private BooleanExpression eqNickname(String nickname) {
return nickname != null ? member.nickname.containsIgnoreCase(nickname) : null;
}

private BooleanExpression isStudentIdNotNull() {
return member.studentId.isNotNull();
}
}

0 comments on commit 6088ab5

Please sign in to comment.