오디션 #249
|
@ -52,7 +52,7 @@ class AuditionApplicantQueryRepositoryImpl(
|
||||||
.innerJoin(auditionApplicant.role, auditionRole)
|
.innerJoin(auditionApplicant.role, auditionRole)
|
||||||
.where(
|
.where(
|
||||||
auditionRole.id.eq(auditionRoleId),
|
auditionRole.id.eq(auditionRoleId),
|
||||||
auditionRole.isActive.isTrue
|
auditionApplicant.isActive.isTrue
|
||||||
)
|
)
|
||||||
.fetch()
|
.fetch()
|
||||||
.size
|
.size
|
||||||
|
@ -86,7 +86,7 @@ class AuditionApplicantQueryRepositoryImpl(
|
||||||
.leftJoin(auditionVote).on(auditionApplicant.id.eq(auditionVote.applicant.id))
|
.leftJoin(auditionVote).on(auditionApplicant.id.eq(auditionVote.applicant.id))
|
||||||
.where(
|
.where(
|
||||||
auditionRole.id.eq(auditionRoleId),
|
auditionRole.id.eq(auditionRoleId),
|
||||||
auditionRole.isActive.isTrue
|
auditionApplicant.isActive.isTrue
|
||||||
)
|
)
|
||||||
.groupBy(auditionApplicant.id)
|
.groupBy(auditionApplicant.id)
|
||||||
.orderBy(orderBy)
|
.orderBy(orderBy)
|
||||||
|
|
Loading…
Reference in New Issue