fix: 포인트 내역 리스트
- 유저의 포인트 보상내역, 사용내역 id 내림차순 정렬
This commit is contained in:
@@ -68,6 +68,8 @@ class PointGrantLogQueryRepositoryImpl(
|
||||
)
|
||||
.from(pointGrantLog)
|
||||
.innerJoin(pointRewardPolicy).on(pointGrantLog.policyId.eq(pointRewardPolicy.id))
|
||||
.where(pointGrantLog.memberId.eq(memberId))
|
||||
.orderBy(pointGrantLog.id.desc())
|
||||
.fetch()
|
||||
}
|
||||
}
|
||||
|
@@ -42,6 +42,7 @@ class UsePointQueryRepositoryImpl(
|
||||
.innerJoin(order).on(usePoint.orderId.eq(order.id))
|
||||
.innerJoin(audioContent).on(order.audioContent.id.eq(audioContent.id))
|
||||
.where(usePoint.memberId.eq(memberId))
|
||||
.orderBy(usePoint.id.desc())
|
||||
.fetch()
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user