Skip to content

Commit

Permalink
feat : 북마크 deleted 조건 조회 추가 (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
dlswns2480 authored Dec 2, 2024
1 parent 4ad50db commit 5aa0d02
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -140,6 +142,7 @@ class ContentAdapter(
categoryEntity.userId.eq(userId),
contentEntity.deleted.isFalse,
bookmarkEntity.deleted.isFalse,
bookmarkEntity.deleted.isFalse,
)
.offset(pageable.offset)
.groupBy(contentEntity)
Expand Down

0 comments on commit 5aa0d02

Please sign in to comment.