콘텐츠 구매 보관함

- isActive가 true인 콘텐츠만 가져오도록 수정
This commit is contained in:
Klaus 2024-01-08 20:26:30 +09:00
parent 52a174d1b3
commit 4923a04c9d
1 changed files with 2 additions and 0 deletions

View File

@ -161,6 +161,7 @@ class OrderQueryRepositoryImpl(private val queryFactory: JPAQueryFactory) : Orde
.from(order)
.where(
order.member.id.eq(memberId)
.and(order.isActive.isTrue)
.and(
order.type.eq(OrderType.KEEP)
.or(
@ -199,6 +200,7 @@ class OrderQueryRepositoryImpl(private val queryFactory: JPAQueryFactory) : Orde
.innerJoin(audioContent.member, member)
.where(
order.member.id.eq(memberId)
.and(order.isActive.isTrue)
.and(
order.type.eq(OrderType.KEEP)
.or(