Compare commits

..

No commits in common. "0974d1dbf8acb982fd14fe20caef6f146d5ad361" and "12a35db6cd9879497c99d147887baa35cd7595ac" have entirely different histories.

2 changed files with 1 additions and 9 deletions

View File

@ -74,7 +74,6 @@ class AdminAuditionRoleQueryRepositoryImpl(
auditionApplicant.id,
member.nickname,
member.profileImage.prepend("/").prepend(cloudfrontHost),
auditionApplicant.phoneNumber,
auditionApplicant.voicePath.prepend("/").prepend(cloudfrontHost),
auditionVote.id.count()
)
@ -83,14 +82,8 @@ class AdminAuditionRoleQueryRepositoryImpl(
.innerJoin(auditionApplicant.member, member)
.innerJoin(auditionApplicant.role, auditionRole)
.leftJoin(auditionVote).on(auditionApplicant.id.eq(auditionVote.applicant.id))
.where(
auditionRole.id.eq(auditionRoleId),
auditionApplicant.isActive.isTrue
)
.where(auditionRole.id.eq(auditionRoleId))
.groupBy(auditionApplicant.id)
.orderBy(auditionVote.id.count().desc())
.offset(offset)
.limit(limit)
.fetch()
}

View File

@ -11,7 +11,6 @@ data class GetAuditionRoleApplicantItem @QueryProjection constructor(
val applicantId: Long,
val nickname: String,
val profileImageUrl: String,
val phoneNumber: String,
val voiceUrl: String,
val voteCount: Long
)