Ignore:
Timestamp:
01/06/23 19:17:05 (23 months ago)
Author:
andrejtodorovski <82031894+andrejtodorovski@…>
Branches:
main
Children:
cab5859
Parents:
d4b888e
Message:

Added full functionality for changing delivery status,
added bootstrap for some pages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/com/example/autopartz/repository/DeliveryRepository.java

    rd4b888e r9dcbf44  
    33import com.example.autopartz.model.Delivery;
    44import com.example.autopartz.model.Deliveryman;
     5import com.example.autopartz.model.Order;
    56import org.springframework.data.jpa.repository.JpaRepository;
    67import org.springframework.stereotype.Repository;
     
    1112public interface DeliveryRepository extends JpaRepository<Delivery,Integer> {
    1213    List<Delivery> findAllByDeliveryman(Deliveryman deliveryman);
     14    List<Delivery> findAllByOrder(Order order);
    1315}
Note: See TracChangeset for help on using the changeset viewer.