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) int
updateStatusByUid
(String uid, String status) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush
Methods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
count, delete, exists, findAll, findAll, findAll, findAll, findBy, findOne
Methods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAll
Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll
Methods 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
-