test #284

Merged
klaus merged 2 commits from test into main 2025-03-13 12:25:35 +00:00
2 changed files with 8 additions and 4 deletions
Showing only changes of commit 327b0149d9 - Show all commits

View File

@ -410,8 +410,10 @@ class AudioContentQueryRepositoryImpl(
where = where.and(audioContentTheme.theme.`in`(theme)) where = where.and(audioContentTheme.theme.`in`(theme))
} }
if (isFree) { where = if (isFree) {
where = where.and(audioContent.price.loe(0)) where.and(audioContent.price.loe(0))
} else {
where.and(audioContent.price.gt(0))
} }
return queryFactory return queryFactory

View File

@ -35,8 +35,10 @@ class AudioContentThemeQueryRepository(
where = where.and(audioContent.isAdult.isFalse) where = where.and(audioContent.isAdult.isFalse)
} }
if (isFree) { where = if (isFree) {
where = where.and(audioContent.price.loe(0)) where.and(audioContent.price.loe(0))
} else {
where.and(audioContent.price.gt(0))
} }
return queryFactory return queryFactory