parent
9a30dd6de5
commit
ebb969c039
|
@ -23,9 +23,8 @@ class CreatorAdminCategoryRepository(private val queryFactory: JPAQueryFactory)
|
||||||
.and(audioContent.member.id.eq(memberId))
|
.and(audioContent.member.id.eq(memberId))
|
||||||
.and(audioContent.isActive.isTrue.or(audioContent.releaseDate.isNotNull))
|
.and(audioContent.isActive.isTrue.or(audioContent.releaseDate.isNotNull))
|
||||||
.and(audioContent.title.contains(searchWord))
|
.and(audioContent.title.contains(searchWord))
|
||||||
.and(categoryContent.category.id.ne(categoryId))
|
.and(categoryContent.category.id.eq(categoryId))
|
||||||
)
|
)
|
||||||
.groupBy(audioContent.id)
|
|
||||||
.fetch()
|
.fetch()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue