-
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.
Merge pull request #71 from final-idea-rush/feature/BE-25
[BE-25] 카테고리, 검색 페이지 처리
- Loading branch information
Showing
7 changed files
with
122 additions
and
42 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,5 +15,4 @@ public record IdeaListResponse( | |
Long BidWinPrice | ||
) { | ||
|
||
|
||
} |
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
11 changes: 10 additions & 1 deletion
11
src/main/java/com/bid/idearush/domain/idea/repository/IdeaRepositoryCustom.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,26 @@ | ||
package com.bid.idearush.domain.idea.repository; | ||
|
||
import com.bid.idearush.domain.idea.model.entity.Idea; | ||
import com.bid.idearush.domain.idea.model.reponse.IdeaListResponse; | ||
import com.bid.idearush.domain.idea.model.reponse.IdeaOneResponse; | ||
import com.bid.idearush.domain.idea.type.Category; | ||
import io.lettuce.core.dynamic.annotation.Param; | ||
import org.springframework.data.domain.Page; | ||
import org.springframework.data.domain.Pageable; | ||
import org.springframework.data.jpa.repository.Query; | ||
|
||
import java.util.List; | ||
import java.util.Optional; | ||
|
||
public interface IdeaRepositoryCustom { | ||
|
||
Page<IdeaListResponse> findIdeaAll(Pageable pageable, long count); | ||
Page<IdeaListResponse> findCategoryAndTitleAll(Category category, String keyword, Pageable pageable, long count); | ||
|
||
Page<IdeaListResponse> findCategory(Pageable pageable, Category category, long count); | ||
|
||
Page<IdeaListResponse> findTitle(Pageable pageable, String keyword); | ||
|
||
Optional<IdeaOneResponse> findIdeaOne(Long ideaId); | ||
|
||
|
||
} |
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
19 changes: 0 additions & 19 deletions
19
src/main/java/com/bid/idearush/global/config/QuerydslConfig.java
This file was deleted.
Oops, something went wrong.
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