From 5aa0d0234bd039d7a300077f2639dfcecfa46556 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=EC=9D=B8=EC=A4=80?= <54973090+dlswns2480@users.noreply.github.com> Date: Mon, 2 Dec 2024 17:38:58 +0900 Subject: [PATCH] =?UTF-8?q?feat=20:=20=EB=B6=81=EB=A7=88=ED=81=AC=20delete?= =?UTF-8?q?d=20=EC=A1=B0=EA=B1=B4=20=EC=A1=B0=ED=9A=8C=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80=20(#193)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/pokit/out/persistence/content/impl/ContentAdapter.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/adapters/out-persistence/src/main/kotlin/com/pokit/out/persistence/content/impl/ContentAdapter.kt b/adapters/out-persistence/src/main/kotlin/com/pokit/out/persistence/content/impl/ContentAdapter.kt index 2d7bab7e..32f89cd6 100644 --- a/adapters/out-persistence/src/main/kotlin/com/pokit/out/persistence/content/impl/ContentAdapter.kt +++ b/adapters/out-persistence/src/main/kotlin/com/pokit/out/persistence/content/impl/ContentAdapter.kt @@ -76,7 +76,8 @@ class ContentAdapter( contentEntity.deleted.isFalse, dateBetween(condition.startDate, condition.endDate), categoryIn(condition.categoryIds), - containsWord(condition.searchWord) + containsWord(condition.searchWord), + bookmarkEntity.deleted.isFalse, ) .offset(pageable.offset) .groupBy(contentEntity) @@ -109,6 +110,7 @@ class ContentAdapter( categoryEntity.userId.eq(userId), categoryEntity.name.eq(categoryName), contentEntity.deleted.isFalse, + bookmarkEntity.deleted.isFalse, ) .offset(pageable.offset) .groupBy(contentEntity) @@ -140,6 +142,7 @@ class ContentAdapter( categoryEntity.userId.eq(userId), contentEntity.deleted.isFalse, bookmarkEntity.deleted.isFalse, + bookmarkEntity.deleted.isFalse, ) .offset(pageable.offset) .groupBy(contentEntity)