Skip to content

Commit

Permalink
Merge pull request #106 from dongkyun0713/dongkyun
Browse files Browse the repository at this point in the history
feat() : findMatchingPostByUser 추가
  • Loading branch information
dongkyun0713 authored Feb 27, 2024
2 parents a8c130f + da2986f commit 772a855
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package com.example.titto_backend.matchingBoard.repository.matchingBoard;

import com.example.titto_backend.auth.domain.User;
import com.example.titto_backend.matchingBoard.domain.matchingBoard.Category;
import com.example.titto_backend.matchingBoard.domain.matchingBoard.MatchingPost;
import java.util.List;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
Expand All @@ -12,4 +14,7 @@ public interface MatchingPostRepository extends JpaRepository<MatchingPost, Long
Page<MatchingPost> findByTitleContaining(String keyword, Pageable pageable);

Page<MatchingPost> findByCategory(Category category, Pageable pageable);

List<MatchingPost> findMatchingPostByUser(User user);

}

0 comments on commit 772a855

Please sign in to comment.