- Type Parameters:
T - 实体类型
ID - 主键类型
- All Superinterfaces:
CrudRepository<T,ID>
public interface PagingAndSortingRepository<T,ID>
extends CrudRepository<T,ID>
- Since:
- 1.0
- Author:
- CJ (power4j@outlook.com)
-
Method Summary
Methods inherited from interface com.power4j.fist.data.crud.repository.CrudRepository
countAll, deleteAll, deleteAllById, deleteOneById, existsById, findAll, findAllById, findOneById, saveAll, saveOne, updateAllById, updateOneById
-
Method Details
-
findAll
分页查询
- Parameters:
pageable - 页信息
- Returns:
- 返回分页数据
-
findAllSorted
查询
- Parameters:
sort - 排序参数
- Returns:
- 返回分页数据