From a36d9f02d8bf6cd96384aba46b77f15a5e21b727 Mon Sep 17 00:00:00 2001 From: Klaus Date: Tue, 20 May 2025 00:14:57 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=8F=AC=EC=9D=B8=ED=8A=B8=20=EB=82=B4?= =?UTF-8?q?=EC=97=AD=20=EB=A6=AC=EC=8A=A4=ED=8A=B8=20-=20=EC=9C=A0?= =?UTF-8?q?=EC=A0=80=EC=9D=98=20=ED=8F=AC=EC=9D=B8=ED=8A=B8=20=EB=B3=B4?= =?UTF-8?q?=EC=83=81=EB=82=B4=EC=97=AD,=20=EC=82=AC=EC=9A=A9=EB=82=B4?= =?UTF-8?q?=EC=97=AD=20id=20=EB=82=B4=EB=A6=BC=EC=B0=A8=EC=88=9C=20?= =?UTF-8?q?=EC=A0=95=EB=A0=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kr/co/vividnext/sodalive/point/PointGrantLogRepository.kt | 2 ++ .../kotlin/kr/co/vividnext/sodalive/point/UsePointRepository.kt | 1 + 2 files changed, 3 insertions(+) diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/point/PointGrantLogRepository.kt b/src/main/kotlin/kr/co/vividnext/sodalive/point/PointGrantLogRepository.kt index 3ec8c3a..6edc73a 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/point/PointGrantLogRepository.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/point/PointGrantLogRepository.kt @@ -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() } } diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/point/UsePointRepository.kt b/src/main/kotlin/kr/co/vividnext/sodalive/point/UsePointRepository.kt index 076b4d4..054d175 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/point/UsePointRepository.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/point/UsePointRepository.kt @@ -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() } }