parent
0d2daf4d2c
commit
9ad6b6ea48
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue