| | |
| | | package kr.wisestone.owl.repository; |
| | | |
| | | import kr.wisestone.owl.domain.Issue; |
| | | import org.springframework.data.domain.Page; |
| | | import org.springframework.data.domain.PageRequest; |
| | | import org.springframework.data.domain.Pageable; |
| | | import org.springframework.data.jpa.repository.JpaRepository; |
| | | import org.springframework.data.repository.query.Param; |
| | | |
| | |
| | | |
| | | public interface IssueRepository extends JpaRepository<Issue, Long> { |
| | | List<Issue> findByParentIssueId(@Param("parentIssueId") Long parentIssueId); |
| | | |
| | | Page<Issue> findByParentIssueId(@Param("parentIssueId") Long parentIssueId, Pageable pageable); |
| | | } |