test #259

Merged
klaus merged 18 commits from test into main 2025-02-18 14:48:10 +00:00
1 changed files with 2 additions and 0 deletions
Showing only changes of commit 7b957c6732 - Show all commits

View File

@ -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)