Package com.bytedesk.service.visitor
Interface VisitorRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<VisitorEntity,,Long> org.springframework.data.jpa.repository.JpaRepository<VisitorEntity,,Long> org.springframework.data.jpa.repository.JpaSpecificationExecutor<VisitorEntity>,org.springframework.data.repository.ListCrudRepository<VisitorEntity,,Long> org.springframework.data.repository.ListPagingAndSortingRepository<VisitorEntity,,Long> org.springframework.data.repository.PagingAndSortingRepository<VisitorEntity,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<VisitorEntity>,org.springframework.data.repository.Repository<VisitorEntity,Long>
public interface VisitorRepository
extends org.springframework.data.jpa.repository.JpaRepository<VisitorEntity,Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<VisitorEntity>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
org.springframework.data.jpa.repository.JpaSpecificationExecutor.SpecificationFluentQuery<T extends Object> -
Method Summary
Modifier and TypeMethodDescriptionfindByStatusAndDeleted(String status, Boolean deleted) findByUidAndDeleted(String uid, Boolean deleted) findByVisitorUidAndOrgUidAndDeleted(String visitorUid, String orgUid, Boolean deleted) intupdateStatusByUid(String uid, String status) 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, 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
-
findByUidAndDeleted
-
findByVisitorUidAndOrgUidAndDeleted
Optional<VisitorEntity> findByVisitorUidAndOrgUidAndDeleted(String visitorUid, String orgUid, Boolean deleted) -
findByStatusAndDeleted
-
updateStatusByUid
-