From 96ff32103b911f8a695ecc49e57ff3daee76aa76 Mon Sep 17 00:00:00 2001 From: yeji Date: Sun, 26 Nov 2023 02:13:01 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=B9=84=EC=8A=B7=ED=95=9C=20=ED=96=89?= =?UTF-8?q?=EC=82=AC=20=EB=A6=AC=EC=8A=A4=ED=8A=B8=20=EA=B8=B0=EC=A4=80=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../efub/dhs/domain/program/repository/ProgramRepository.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/com/efub/dhs/domain/program/repository/ProgramRepository.java b/src/main/java/com/efub/dhs/domain/program/repository/ProgramRepository.java index 8a0908a..4af50de 100644 --- a/src/main/java/com/efub/dhs/domain/program/repository/ProgramRepository.java +++ b/src/main/java/com/efub/dhs/domain/program/repository/ProgramRepository.java @@ -13,8 +13,7 @@ public interface ProgramRepository extends JpaRepository, ProgramRepositoryCustom { - //List findTop3ByCategoryAndScheduleMonth(Category category, Month month); - List findTop3ByCategory(Category category); + List findAllByCategoryAndIsOpenOrderByDeadlineAsc(Category category, Boolean isOpen); Page findAllByHost(Member host, Pageable pageable);