parent
03e1ef3271
commit
7b957c6732
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue