public interface IBase<T,ID extends Serializable> extends IBaseProvider<T,ID>
| 限定符和类型 | 方法和说明 |
|---|---|
long |
count(org.springframework.data.domain.Example<T> example)
根据条件统计数量
|
List<T> |
findAll(Condition condition)
根据条件查询全部
|
List<T> |
findAll(Condition condition,
OrderSort sort)
根据条件查询全部
|
List<T> |
findAll(org.springframework.data.domain.Example<T> example)
根据条件查询全部
|
List<T> |
findAll(org.springframework.data.domain.Example<T> example,
OrderSort sort)
查询全部并排序
|
Page<T> |
findByPage(Condition condition,
Page<T> page)
根据条件分页查询
|
Page<T> |
findByPage(org.springframework.data.domain.Example<T> example,
Page<T> page)
根据条件分页查询
|
count, delete, delete, findAll, findAll, findById, findByPage, save, update, updateByPropertylong count(org.springframework.data.domain.Example<T> example)
example - ExampleList<T> findAll(org.springframework.data.domain.Example<T> example)
example - ExampleList<T> findAll(org.springframework.data.domain.Example<T> example, OrderSort sort)
example - Examplesort - Order by 对象List<T> findAll(Condition condition, OrderSort sort)
condition - 查询参数封装sort - Order by 对象Page<T> findByPage(org.springframework.data.domain.Example<T> example, Page<T> page)
example - Examplepage - PageCopyright © 2020. All rights reserved.