From 0e00950ab39b217cea913960eb56c29241b0870c Mon Sep 17 00:00:00 2001 From: koseonje <127813439+KoSeonJe@users.noreply.github.com> Date: Sat, 16 Nov 2024 18:15:44 +0900 Subject: [PATCH] =?UTF-8?q?[DDING-000]=20=ED=8E=98=EC=9D=B4=EC=A7=80?= =?UTF-8?q?=EB=84=A4=EC=9D=B4=EC=85=98=20=EC=A1=B0=ED=9A=8C=20=EC=8B=9C=20?= =?UTF-8?q?=EC=A1=B0=EA=B1=B4=20=EC=88=98=EC=A0=95=20(#184)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/documents/repository/DocumentRepository.java | 1 + .../ddingdongBE/domain/notice/repository/NoticeRepository.java | 1 + 2 files changed, 2 insertions(+) diff --git a/src/main/java/ddingdong/ddingdongBE/domain/documents/repository/DocumentRepository.java b/src/main/java/ddingdong/ddingdongBE/domain/documents/repository/DocumentRepository.java index 51cb35b0..24accf07 100644 --- a/src/main/java/ddingdong/ddingdongBE/domain/documents/repository/DocumentRepository.java +++ b/src/main/java/ddingdong/ddingdongBE/domain/documents/repository/DocumentRepository.java @@ -11,6 +11,7 @@ public interface DocumentRepository extends JpaRepository { value = """ SELECT * FROM document AS d + WHERE deleted_at IS NULL ORDER BY d.id DESC LIMIT :limit OFFSET :offset diff --git a/src/main/java/ddingdong/ddingdongBE/domain/notice/repository/NoticeRepository.java b/src/main/java/ddingdong/ddingdongBE/domain/notice/repository/NoticeRepository.java index be65a83e..c8c094bd 100644 --- a/src/main/java/ddingdong/ddingdongBE/domain/notice/repository/NoticeRepository.java +++ b/src/main/java/ddingdong/ddingdongBE/domain/notice/repository/NoticeRepository.java @@ -13,6 +13,7 @@ public interface NoticeRepository extends JpaRepository { value = """ SELECT * FROM notice AS n + WHERE deleted_at IS NULL ORDER BY n.id DESC LIMIT :limit OFFSET :offsetValue