Interface AuthPolicyRepository
-
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<AuthPolicy,String>,org.springframework.data.jpa.repository.JpaRepository<AuthPolicy,String>,org.springframework.data.repository.PagingAndSortingRepository<AuthPolicy,String>,org.springframework.data.repository.query.QueryByExampleExecutor<AuthPolicy>,org.springframework.data.repository.Repository<AuthPolicy,String>
public interface AuthPolicyRepository extends org.springframework.data.jpa.repository.JpaRepository<AuthPolicy,String>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuthPolicyfindByPolicyId(String policyGroupId)-
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteById, existsById, findById, save
-
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlush
-
-
-
-
Method Detail
-
findByPolicyId
@Query(value="select * from auth_policy ppr where ppr.id=?", nativeQuery=true) AuthPolicy findByPolicyId(String policyGroupId)
-
-