test #233

Merged
klaus merged 3 commits from test into main 2024-11-05 07:26:19 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 65b28f92d5 - Show all commits

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()