|
@@ -40,12 +40,12 @@ public class PageUtil {
|
|
|
int limit = Integer.parseInt(String.valueOf(source.getSize()));
|
|
|
PageInfo<T> resultPage = new PageInfo<>();
|
|
|
resultPage.setRows(source.getRecords());
|
|
|
+ resultPage.setPageNo(Long.valueOf(source.getCurrent()).intValue());
|
|
|
resultPage.setLimit(limit);
|
|
|
resultPage.setTotal(total);
|
|
|
return resultPage;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* 获取Map中的关键字获取分页数据
|
|
|
*
|