Skip to content

Commit

Permalink
refactor: findDetailInfo 설명을 추가한다.
Browse files Browse the repository at this point in the history
  • Loading branch information
min429 committed Aug 5, 2024
1 parent 438e064 commit 030f0a3
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,13 @@ public Page<AccompanyBoardInfo> findBoardInfos(Pageable pageable) {
.where(accompanyUser.role.eq(HOST))
.fetchOne();

System.out.println("Offset: " + pageable.getOffset());
System.out.println("Limit: " + pageable.getPageSize());
System.out.println("Fetched content: " + content);
System.out.println("Total count: " + total);

return new PageImpl<>(content, pageable, total);
}

/**
* 동행글, 프로필 정보를 한번에 가져옵니다.
*/

@Override
public Optional<ReadAccompanyBoardResponse> findDetailInfo(Long boardId) {
QAccompanyBoard accompanyBoard = QAccompanyBoard.accompanyBoard;
Expand Down

0 comments on commit 030f0a3

Please sign in to comment.