라이브방 후원리스트

- 내가 후원한 비밀후원은 조회되도록 수정
This commit is contained in:
Klaus 2024-11-05 15:19:14 +09:00
parent a5845c90c2
commit 65b28f92d5
1 changed files with 2 additions and 2 deletions

View File

@ -253,7 +253,7 @@ class LiveRoomQueryRepositoryImpl(
useCan.can.sum().add(useCan.rewardCan.sum())
} else {
CaseBuilder()
.`when`(useCan.isSecret.isFalse.or(useCan.member.id.eq(memberId)))
.`when`(useCan.isSecret.isFalse)
.then(useCan.can.sum().add(useCan.rewardCan.sum()))
.otherwise(0)
}
@ -275,7 +275,7 @@ class LiveRoomQueryRepositoryImpl(
).sum(),
Expressions.asNumber(
CaseBuilder()
.`when`(Expressions.asBoolean(isLiveCreator).isTrue)
.`when`(Expressions.asBoolean(isLiveCreator).isTrue.or(useCan.member.id.eq(memberId)))
.then(
Expressions.asNumber(
CaseBuilder()