Skip to content

Commit

Permalink
feat: ItemRepository findAllBySection, Category
Browse files Browse the repository at this point in the history
- Section과 Category의 id를 이용하여 Item 가져오기 가능

issue: #5
  • Loading branch information
kihyuk-sung committed Apr 21, 2021
1 parent 66e2638 commit 9e50f80
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
import java.util.List;

public interface ItemRepository extends CrudRepository<Item, Long> {

@Override
List<Item> findAll();

List<Item> findAllBySection(Long section);

List<Item> findAllByCategory(Long category);
}

0 comments on commit 9e50f80

Please sign in to comment.