Compare commits

..

No commits in common. "62060adeba765606fc8b40f73c64f7f7a249648a" and "b2fc75edb873ce9260b77b39f08ce192ae95ee97" have entirely different histories.

1 changed files with 1 additions and 4 deletions

View File

@ -135,8 +135,7 @@ class ExplorerQueryRepository(
.offset(offset)
.limit(limit)
.where(
useCan.member.isActive.isTrue
.and(useCan.isRefund.isFalse)
useCan.isRefund.isFalse
.and(useCanCalculate.recipientCreatorId.eq(creatorId))
.and(
useCan.canUsage.eq(CanUsage.DONATION)
@ -147,7 +146,6 @@ class ExplorerQueryRepository(
.groupBy(useCan.member.id)
.orderBy(donation.desc(), member.id.desc())
.fetch()
.asSequence()
.map {
val account = it.get(member)!!
val donationCan = it.get(donation)!!
@ -162,7 +160,6 @@ class ExplorerQueryRepository(
if (withDonationCan) donationCan else 0
)
}
.toList()
}
fun getNewCreators(): List<Member> {