Package com.bytedesk.call.queue
Interface CallQueueRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<CallQueueEntity,,Long> org.springframework.data.jpa.repository.JpaRepository<CallQueueEntity,,Long> org.springframework.data.repository.ListCrudRepository<CallQueueEntity,,Long> org.springframework.data.repository.ListPagingAndSortingRepository<CallQueueEntity,,Long> org.springframework.data.repository.PagingAndSortingRepository<CallQueueEntity,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<CallQueueEntity>,org.springframework.data.repository.Repository<CallQueueEntity,Long>
public interface CallQueueRepository
extends org.springframework.data.jpa.repository.JpaRepository<CallQueueEntity,Long>
Call队列数据访问接口
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByName(String name) 根据队列名称删除队列booleanexistsByName(String name) 检查队列名称是否存在findByName(String name) 根据队列名称查找队列根据队列状态查找队列列表根据队列类型查找队列列表根据队列类型和状态查找队列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.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
-
findByName
根据队列名称查找队列 -
findByType
根据队列类型查找队列列表 -
findByStatus
根据队列状态查找队列列表 -
existsByName
检查队列名称是否存在 -
deleteByName
根据队列名称删除队列 -
findByTypeAndStatus
List<CallQueueEntity> findByTypeAndStatus(CallQueueEntity.QueueType type, CallQueueEntity.QueueStatus status) 根据队列类型和状态查找队列
-