@Repository public interface PenaltyRatesRepository extends org.springframework.data.jpa.repository.JpaRepository<PenaltyRates,Long>
| Modifier and Type | Method and Description |
|---|---|
PenaltyRates |
findByDaysAndLicenseAppType(Long days,
LicenseAppType licenseAppType) |
List<PenaltyRates> |
findByLicenseAppTypeIdOrderByIdAsc(Long licenseAppTypeId) |
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAll, flush, getOne, save, saveAndFlushfindAll@Query(value="select pr from PenaltyRates pr where pr.fromRange < :days and pr.toRange >= :days and pr.licenseAppType = :licenseAppType ") PenaltyRates findByDaysAndLicenseAppType(@Param(value="days") Long days, @Param(value="licenseAppType") LicenseAppType licenseAppType)
List<PenaltyRates> findByLicenseAppTypeIdOrderByIdAsc(Long licenseAppTypeId)
Copyright © 2015–2017 eGovernments Foundation. All rights reserved.