Methods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAll
Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
Method Details
findAllByOrganisationId
@Query("SELECT t FROM Vat t WHERE t.id.organisationId = :organisationId")
List<Vat>findAllByOrganisationId(@Param("organisationId")
String organisationId)
findByIdAndActive
@Query("SELECT t FROM Vat t WHERE t.id = :Id AND t.active = :active ")
Optional<Vat>findByIdAndActive(@Param("Id")
Vat.Id Id,
@Param("active")
boolean active)