public class FlexPageUtil
extends Object
- Author:
- Toint
-
Constructor Summary
Constructors
-
Method Summary
static <T,
R> com.mybatisflex.core.paginate.Page<R>
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
FlexPageUtil
public FlexPageUtil()
-
Method Details
-
map
public static <T,
R>
com.mybatisflex.core.paginate.Page<R> map(com.mybatisflex.core.paginate.Page<T> page,
Function<List<T>,List<R>> function)
批量转换数据
- Type Parameters:
T - 初始类型
R - 转换后的类型
- Parameters:
page - 分页对象
function - 操作
- Returns:
- 转换后的分页对线