From 4059f035a282bd4bc3203e8433f5415cccbf3877 Mon Sep 17 00:00:00 2001 From: uuuuuuuk Date: Wed, 20 Dec 2023 17:05:35 +0900 Subject: [PATCH] =?UTF-8?q?:memo:=20PurchaseRepository=20=EC=9D=98=20find?= =?UTF-8?q?=20=EB=A9=94=EC=84=9C=EB=93=9C=EC=97=90=20=EB=82=B4=EB=A6=BC?= =?UTF-8?q?=EC=B0=A8=EC=88=9C=20=EC=98=B5=EC=85=98=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../miso/domain/purchase/repository/PurchaseRepository.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/andreas311/miso/domain/purchase/repository/PurchaseRepository.kt b/src/main/kotlin/andreas311/miso/domain/purchase/repository/PurchaseRepository.kt index 990f320b..b0fa982e 100644 --- a/src/main/kotlin/andreas311/miso/domain/purchase/repository/PurchaseRepository.kt +++ b/src/main/kotlin/andreas311/miso/domain/purchase/repository/PurchaseRepository.kt @@ -6,5 +6,5 @@ import org.springframework.data.repository.CrudRepository interface PurchaseRepository : CrudRepository { - fun findAllByUser(user: User): List? + fun findAllByUserOrderByCreatedDateDesc(user: User): List? }