fix: 메인 홈 - 최근 콘텐츠 조회
- join 하지 않은 blockMember 제거 - 정렬 조건 추가 - id 내림차순
This commit is contained in:
		| @@ -1313,7 +1313,6 @@ class AudioContentQueryRepositoryImpl( | |||||||
|                 audioContent.releaseDate.isNull |                 audioContent.releaseDate.isNull | ||||||
|                     .or(audioContent.releaseDate.loe(LocalDateTime.now())) |                     .or(audioContent.releaseDate.loe(LocalDateTime.now())) | ||||||
|             ) |             ) | ||||||
|             .and(blockMember.id.isNull) |  | ||||||
|  |  | ||||||
|         if (!isAdult) { |         if (!isAdult) { | ||||||
|             where = where.and(audioContent.isAdult.isFalse) |             where = where.and(audioContent.isAdult.isFalse) | ||||||
| @@ -1360,6 +1359,7 @@ class AudioContentQueryRepositoryImpl( | |||||||
|             .where(where) |             .where(where) | ||||||
|             .offset(offset) |             .offset(offset) | ||||||
|             .limit(limit) |             .limit(limit) | ||||||
|  |             .orderBy(audioContent.id.desc()) | ||||||
|             .fetch() |             .fetch() | ||||||
|     } |     } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user