parent
0d2daf4d2c
commit
9ad6b6ea48
|
@ -1336,10 +1336,8 @@ class AudioContentQueryRepositoryImpl(
|
||||||
where = where.and(audioContentTheme.theme.`in`(theme))
|
where = where.and(audioContentTheme.theme.`in`(theme))
|
||||||
}
|
}
|
||||||
|
|
||||||
where = if (isFree) {
|
if (isFree) {
|
||||||
where.and(audioContent.price.loe(0))
|
where = where.and(audioContent.price.loe(0))
|
||||||
} else {
|
|
||||||
where.and(audioContent.price.gt(0))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return queryFactory
|
return queryFactory
|
||||||
|
|
|
@ -55,10 +55,8 @@ class AudioContentThemeQueryRepository(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
where = if (isFree) {
|
if (isFree) {
|
||||||
where.and(audioContent.price.loe(0))
|
where = where.and(audioContent.price.loe(0))
|
||||||
} else {
|
|
||||||
where.and(audioContent.price.gt(0))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return queryFactory
|
return queryFactory
|
||||||
|
|
Loading…
Reference in New Issue