Package cn.sinozg.applet.common.utils
Interface PageUtil<T,R>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
封装分页信息
PageUtil<ResponseData, RequestData> pu = (p, q) -> mapper.pageList(p, q);
BasePageResponse<List<ResponseData>> result = pu.page(request.getPage(), params);
-
Method Summary
Modifier and TypeMethodDescriptiondefault BasePageResponse<List<T>>page(PagingRequest info, R r) 封装分页对象com.baomidou.mybatisplus.core.metadata.IPage<T>获取数据集合