@Repository public interface AuthLockRepository extends io.mosip.kernel.core.dataaccess.spi.repository.BaseRepository<AuthtypeLock,Integer>
| Modifier and Type | Method and Description |
|---|---|
List<AuthtypeLock> |
findByUin(String uin) |
create, createNamedQuerySelect, createNamedQueryUpdateOrDelete, createQuerySelect, createQuerySelect, createQueryUpdateOrDelete, delete, findAll, findById, updatedeleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlushfindAll@Query(value="select t.* from ida.uin_auth_lock t inner join ( select auth_type_code, MAX(cr_dtimes) as crd from ida.uin_auth_lock group by uin_hash, auth_type_code ) tm on t.auth_type_code = tm.auth_type_code and t.cr_dtimes = tm.crd where t.uin = :uin",
nativeQuery=true)
List<AuthtypeLock> findByUin(@Param(value="uin")
String uin)
Copyright © 2020. All rights reserved.