-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 내가 쓴 동행글 목록 조회 api를 구현한다. (#45)
* refactor: 메소드 이름을 변경한다. * feat: 내가 쓴 동행글 목록 조회 api를 구현한다. * refactor: 누락된 import를 추가한다.
- Loading branch information
Showing
4 changed files
with
63 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 6 additions & 4 deletions
10
...y/domain/accompany/infrastructure/querydsl/interfaces/AccompanyBoardRepositoryCustom.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,19 @@ | ||
package com.dnd.accompany.domain.accompany.infrastructure.querydsl.interfaces; | ||
|
||
import org.springframework.data.domain.Pageable; | ||
import org.springframework.data.domain.Slice; | ||
|
||
import com.dnd.accompany.domain.accompany.api.dto.FindBoardThumbnailsResult; | ||
import com.dnd.accompany.domain.accompany.entity.enums.Region; | ||
|
||
public interface AccompanyBoardRepositoryCustom { | ||
Slice<FindBoardThumbnailsResult> findBoardThumbnailsByKeyword(String cursor, int size, String keyword); | ||
|
||
|
||
Slice<FindBoardThumbnailsResult> findBoardThumbnails(String cursor, int size, Region region); | ||
|
||
Slice<FindBoardThumbnailsResult> findBoardThumbnailsByUserId(String cursor, int size, Long userId); | ||
Slice<FindBoardThumbnailsResult> findRecordsByUserId(String cursor, int size, Long userId); | ||
|
||
Slice<FindBoardThumbnailsResult> findBoardThumbnailsByHostId(String cursor, int size, Long userId); | ||
|
||
Slice<FindBoardThumbnailsResult> findBoardThumbnailsByKeyword(String cursor, int size, String keyword); | ||
|
||
boolean isHostOfBoard(Long userId, Long boardId); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters