service and controller done

This commit is contained in:
Olivier PARPAILLON
2025-07-16 10:28:43 +02:00
parent b6242d0f2c
commit 9c24ef5b22
7 changed files with 100 additions and 2 deletions

View File

@@ -3,5 +3,10 @@ package fr.eni.demo.dal;
import fr.eni.demo.bo.Facture;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;
public interface FactureRepository extends JpaRepository<Facture,Long> {
List<Facture> findByClient(Long clientId);
List<Facture> findByDatePayEmpty();
}