fix: 메인 홈 - 최근 콘텐츠 조회

- join 하지 않은 blockMember 제거
- 정렬 조건 추가 - id 내림차순
This commit is contained in:
Klaus 2025-07-11 14:04:08 +09:00
parent 22fc8b22b8
commit a4b5185f6b
1 changed files with 1 additions and 1 deletions

View File

@ -1313,7 +1313,6 @@ class AudioContentQueryRepositoryImpl(
audioContent.releaseDate.isNull
.or(audioContent.releaseDate.loe(LocalDateTime.now()))
)
.and(blockMember.id.isNull)
if (!isAdult) {
where = where.and(audioContent.isAdult.isFalse)
@ -1360,6 +1359,7 @@ class AudioContentQueryRepositoryImpl(
.where(where)
.offset(offset)
.limit(limit)
.orderBy(audioContent.id.desc())
.fetch()
}