오디션 지원 리스트
- 비활성화 된 데이터는 조회되지 않도록 수정
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user