오디션 #249

Merged
klaus merged 40 commits from test into main 2025-01-07 17:24:40 +00:00
1 changed files with 3 additions and 1 deletions
Showing only changes of commit 9315447618 - Show all commits

View File

@ -56,7 +56,7 @@ class AuditionQueryRepositoryImpl(
var where = audition.isActive.isTrue var where = audition.isActive.isTrue
.and( .and(
audition.status.eq(AuditionStatus.COMPLETED) audition.status.eq(AuditionStatus.COMPLETED)
.and(audition.status.eq(AuditionStatus.IN_PROGRESS)) .or(audition.status.eq(AuditionStatus.IN_PROGRESS))
) )
if (!isAdult) { if (!isAdult) {
@ -74,6 +74,8 @@ class AuditionQueryRepositoryImpl(
) )
.from(audition) .from(audition)
.where(where) .where(where)
.offset(offset)
.limit(limit)
.orderBy(audition.status.desc()) .orderBy(audition.status.desc())
.fetch() .fetch()
} }