Skip to content

Commit

Permalink
๐Ÿ”€ :: (#246) ๋Œ“๊ธ€ ๊ฐฏ์ˆ˜ ์˜ค๋ฅ˜ ํ•ด๊ฒฐ
Browse files Browse the repository at this point in the history
  • Loading branch information
alsco39 authored Sep 25, 2023
1 parent d8eb376 commit a4f1f40
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,10 @@ public FeedPageList queryAllFeedByCategory(UUID categoryId, LocalDateTime time,
.on(feedEntity.id.eq(feedLikeEntity.feedEntity.id))
.leftJoin(commentEntity)
.on(feedEntity.id.eq(commentEntity.feedEntity.id))
.where(expression.and(categoryIdEq(categoryId)), feedEntity.deleted.eq(false))
.where(
commentEntity.deleted.eq(false),
expression.and(categoryIdEq(categoryId)), feedEntity.deleted.eq(false)
)
.groupBy(feedEntity.id)
.orderBy(feedEntity.createdAt.desc())
.limit(limit)
Expand Down

0 comments on commit a4f1f40

Please sign in to comment.