Changeset 9dcbf44 for src/main/java/com/example/autopartz/repository
- Timestamp:
- 01/06/23 19:17:05 (23 months ago)
- Branches:
- main
- Children:
- cab5859
- Parents:
- d4b888e
- Location:
- src/main/java/com/example/autopartz/repository
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/autopartz/repository/DeliveryRepository.java
rd4b888e r9dcbf44 3 3 import com.example.autopartz.model.Delivery; 4 4 import com.example.autopartz.model.Deliveryman; 5 import com.example.autopartz.model.Order; 5 6 import org.springframework.data.jpa.repository.JpaRepository; 6 7 import org.springframework.stereotype.Repository; … … 11 12 public interface DeliveryRepository extends JpaRepository<Delivery,Integer> { 12 13 List<Delivery> findAllByDeliveryman(Deliveryman deliveryman); 14 List<Delivery> findAllByOrder(Order order); 13 15 }
Note:
See TracChangeset
for help on using the changeset viewer.