@Repository public interface ConnectionChargesRepository extends org.springframework.data.jpa.repository.JpaRepository<ConnectionCharges,Long>
| Modifier and Type | Method and Description |
|---|---|
List<ConnectionCharges> |
findByType(String type) |
ConnectionCharges |
findByTypeAndDate(String type) |
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAll, flush, getOne, save, saveAndFlushfindAllList<ConnectionCharges> findByType(String type)
@Query(value="from ConnectionCharges cc where cc.fromDate<=current_date and cc.toDate>=current_date and cc.type =:type") ConnectionCharges findByTypeAndDate(@Param(value="type") String type)
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.