diff --git a/common/src/main/java/com/jeesite/common/collect/ListUtils.java b/common/src/main/java/com/jeesite/common/collect/ListUtils.java index bc2375b5..0e7080cb 100644 --- a/common/src/main/java/com/jeesite/common/collect/ListUtils.java +++ b/common/src/main/java/com/jeesite/common/collect/ListUtils.java @@ -356,7 +356,7 @@ public class ListUtils extends org.apache.commons.collections.ListUtils { * @param totalPage 总页码数 * @author ThinkGem */ - private static List getPageList(List list, int pageNo, int pageSize, int totalPage) { + public static List getPageList(List list, int pageNo, int pageSize, int totalPage) { int fromIndex = 0; // 从哪里开始截取 int toIndex = 0; // 截取几个 if (list == null || list.size() == 0){