@Repository public interface AccountEntityRepository extends org.springframework.data.jpa.repository.JpaRepository<AccountEntity,Integer>
| Modifier and Type | Method and Description |
|---|---|
List<AccountEntity> |
findBy20(Integer typeId,
String key) |
List<AccountEntity> |
findByAccountdetailtype(org.egov.commons.Accountdetailtype accountdetailtype) |
List<AccountEntity> |
findByAccountdetailtypeAndIsactive(org.egov.commons.Accountdetailtype accountdetailtype,
boolean isactive) |
org.springframework.data.domain.Page<AccountEntity> |
findByAccountdetailtypeAndNameContainingIgnoreCaseOrCodeContainingIgnoreCase(org.egov.commons.Accountdetailtype accountdetailtype,
String name,
String code,
org.springframework.data.domain.Pageable pageable) |
AccountEntity |
findByCode(String Code) |
AccountEntity |
findByName(String name) |
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAll, flush, getOne, save, saveAndFlushfindAllAccountEntity findByName(String name)
AccountEntity findByCode(String Code)
List<AccountEntity> findByAccountdetailtype(org.egov.commons.Accountdetailtype accountdetailtype)
List<AccountEntity> findByAccountdetailtypeAndIsactive(org.egov.commons.Accountdetailtype accountdetailtype, boolean isactive)
org.springframework.data.domain.Page<AccountEntity> findByAccountdetailtypeAndNameContainingIgnoreCaseOrCodeContainingIgnoreCase(org.egov.commons.Accountdetailtype accountdetailtype, String name, String code, org.springframework.data.domain.Pageable pageable)
@Query(value="from AccountEntity where accountdetailtype.id=:detailTypeId and ((upper(code) like upper(:filterkey) or upper(name) like upper(:filterkey)) and isactive=true) order by code,name") List<AccountEntity> findBy20(@Param(value="detailTypeId") Integer typeId, @Param(value="filterkey") String key)
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.