Interface ProguardRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<Proguard,,Long> org.springframework.data.jpa.repository.JpaRepository<Proguard,,Long> org.springframework.data.jpa.repository.JpaSpecificationExecutor<Proguard>,org.springframework.data.repository.ListCrudRepository<Proguard,,Long> org.springframework.data.repository.ListPagingAndSortingRepository<Proguard,,Long> org.springframework.data.repository.PagingAndSortingRepository<Proguard,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<Proguard>,org.springframework.data.repository.Repository<Proguard,Long>
-
Method Summary
Modifier and TypeMethodDescriptiongetProguardByProguardId(Long proguardId) <T> Optional<T>getProguardByProguardId(Long proguardId, Class<T> type) 查询指定字段getProguardByProguardIdForUpdate(Long proguardId) getProguardByProguardIds(List<Long> proguardIds) searchAllByProguardName(String proguardName) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
count, delete, exists, findAll, findAll, findAll, findBy, findOneMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
searchAllByProguardName
-
getProguardByProguardId
-
getProguardByProguardIds
-
getProguardByProguardId
查询指定字段- Parameters:
proguardId-type- 形如 ProguardDTO.java 这个 interface- Returns:
-
getProguardByProguardIdForUpdate
-