Commit bb0f7d02 by WeiCong

优化多列表分页查询

parent e0480f91
...@@ -147,6 +147,7 @@ public abstract class AbstractCache implements CacheController { ...@@ -147,6 +147,7 @@ public abstract class AbstractCache implements CacheController {
if (paginationItem == null || paginationItem.isEmpty()){ if (paginationItem == null || paginationItem.isEmpty()){
return; return;
} }
moduleList.setPaging(true);
moduleList.setPageSize(paginationItem.get(Constants.PAGINATION_PAGESIZE)); moduleList.setPageSize(paginationItem.get(Constants.PAGINATION_PAGESIZE));
moduleList.setPage(paginationItem.get(Constants.PAGINATION_INDEX)); moduleList.setPage(paginationItem.get(Constants.PAGINATION_INDEX));
} }
......
...@@ -58,6 +58,7 @@ ...@@ -58,6 +58,7 @@
<!-- 设置查询最大读取数(0为无限制) --> <!-- 设置查询最大读取数(0为无限制) -->
<property name="maxFetchSize" value="1000" class="int"/> <property name="maxFetchSize" value="1000" class="int"/>
<property name="ignoreFetchError" value="true" class="boolean"/> <property name="ignoreFetchError" value="true" class="boolean"/>
<property name="jpaStyleParam" value="true" class="boolean"/>
</service> </service>
<service class="org.sss.presentation.zk.ZkDisplayUtils"> <service class="org.sss.presentation.zk.ZkDisplayUtils">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment