test #329

Merged
klaus merged 5 commits from test into main 2025-07-14 17:57:26 +00:00
2 changed files with 4 additions and 8 deletions
Showing only changes of commit 9ad6b6ea48 - Show all commits

View File

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

View File

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