레거시 콘텐츠 메인 - 상단 콘텐츠 배너
- 탭이 지정되지 않은 콘텐츠 배너만 보이도록 수정
This commit is contained in:
		| @@ -698,6 +698,7 @@ class AudioContentQueryRepositoryImpl( | ||||
|  | ||||
|     override fun getAudioContentMainBannerList(isAdult: Boolean): List<AudioContentBanner> { | ||||
|         var where = audioContentBanner.isActive.isTrue | ||||
|             .and(audioContentBanner.tab.isNull) | ||||
|  | ||||
|         if (!isAdult) { | ||||
|             where = where.and(audioContentBanner.isAdult.isFalse) | ||||
| @@ -705,6 +706,7 @@ class AudioContentQueryRepositoryImpl( | ||||
|  | ||||
|         return queryFactory | ||||
|             .selectFrom(audioContentBanner) | ||||
|             .leftJoin(audioContentBanner.tab, audioContentMainTab) | ||||
|             .leftJoin(audioContentBanner.event, event) | ||||
|             .leftJoin(audioContentBanner.creator, member) | ||||
|             .where(where) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user