Browse Source

数据量恢复成100

anderx 7 years ago
parent
commit
66ab52652e

+ 1 - 1
src/main/java/com/goafanti/admin/service/impl/AdminServiceImpl.java

@@ -274,7 +274,7 @@ public class AdminServiceImpl extends BaseMybatisDao<AdminMapper> implements Adm
         List<List<Admin>> listGroup = new ArrayList<List<Admin>>();
         int listSize = list.size();
         //子集合的长度
-        int toIndex = 50;
+        int toIndex = 100;
         for (int i = 0; i < list.size(); i += toIndex) {
             if (i + toIndex > listSize) {
                 toIndex = listSize - i;