Skip to content

Commit

Permalink
fix:repush
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmy0006 committed Jan 21, 2024
1 parent 349292a commit 6e0006c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
@Repository
public interface PostRepository extends JpaRepository<Post, Long>, PagingAndSortingRepository<Post, Long>, JpaSpecificationExecutor<Post> {
Page<Post> findByMember(Member member, Pageable pageable);

@Query("select p from Post p where p.isDeleted=false")
Page<Post> findByBoardType(BoardType boardType, Pageable pageable);
Page<Post> findByTitleContainingOrBodyContaining(String title, String body, Pageable pageable);
Expand Down

0 comments on commit 6e0006c

Please sign in to comment.