Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ public record BookRecruitingRoomDto(
String roomName,
int memberCount,
int recruitCount,
String deadlineEndDate
String deadlineEndDate,
boolean isPublic
) {
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ public List<RoomRecruitingDetailViewResponse.RecommendRoom> findOtherRecruitingR
.where(
room.categoryJpaEntity.value.eq(category)
.and(room.startDate.after(LocalDate.now())) // 모집 마감 시각 > 현재 시각
.and(room.roomId.ne(roomId)) // 현재 방 제외
.and(room.roomId.ne(roomId))// 현재 방 제외
.and(room.isPublic.isTrue()) // 공개방 만
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

감사합니다

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

어깜작아 넼ㅋㅋㅋ

)
.groupBy(room.roomId, room.title, room.recruitCount, room.startDate)
.orderBy(room.startDate.asc())
Expand Down Expand Up @@ -413,7 +414,8 @@ public List<RoomQueryDto> findRoomsByIsbnOrderByStartDateAsc(String isbn, LocalD
room.title,
room.recruitCount,
room.memberCount,
cursorExpr
cursorExpr,
room.isPublic
))
.from(room)
.join(room.bookJpaEntity, book)
Expand Down