main
Last change
on this file was 7d43957, checked in by andrejtodorovski <82031894+andrejtodorovski@…>, 23 months ago |
Added functionalities
|
-
Property mode
set to
100644
|
File size:
498 bytes
|
Line | |
---|
1 | package com.example.autopartz.repository;
|
---|
2 |
|
---|
3 | import com.example.autopartz.model.manytomany.OrderContainsPart;
|
---|
4 | import com.example.autopartz.model.manytomany.OrderContainsPartId;
|
---|
5 | import org.springframework.data.jpa.repository.JpaRepository;
|
---|
6 | import org.springframework.stereotype.Repository;
|
---|
7 |
|
---|
8 | import java.util.List;
|
---|
9 |
|
---|
10 | @Repository
|
---|
11 | public interface OrderContainsPartRepository extends JpaRepository<OrderContainsPart, OrderContainsPartId> {
|
---|
12 | List<OrderContainsPart> findAllByOrderid(Integer orderid);
|
---|
13 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.