-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEAT] 장애 유형, 도움 유형에 따른 필터링 기능 구현 (#122)
* no change * feat: 장애 유형 및 도움 유형에 따른 필터링 추가
- Loading branch information
Showing
6 changed files
with
52 additions
and
37 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
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
5 changes: 4 additions & 1 deletion
5
src/main/java/econo/buddybridge/post/repository/PostRepositoryCustom.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,12 +1,15 @@ | ||
package econo.buddybridge.post.repository; | ||
|
||
import econo.buddybridge.member.entity.DisabilityType; | ||
import econo.buddybridge.post.dto.PostCustomPage; | ||
import econo.buddybridge.post.entity.AssistanceType; | ||
import econo.buddybridge.post.entity.PostStatus; | ||
import econo.buddybridge.post.entity.PostType; | ||
import org.springframework.stereotype.Repository; | ||
|
||
@Repository | ||
public interface PostRepositoryCustom { | ||
|
||
PostCustomPage findPosts(Integer page, Integer size, String sort, PostType postType, PostStatus postStatus); | ||
PostCustomPage findPosts(Integer page, Integer size, String sort, PostType postType, | ||
PostStatus postStatus, DisabilityType disabilityType, AssistanceType assistanceType); | ||
} |
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