jeesite4 remove pagination

In my development needs in export demand have all the data, but found only a maximum of 20 derived data, because the default settings tab of 20 one, found that all queries are added by default paging, resulting in no export all data but derived this page

Before I rewrite the sql, plus default or find a tab to see the backstage output log, found or paged query

Finally that, for each type of packaging setPage method can not only set page, can be found by pass a null value is not set to be paged

//pyNarcotics为我实体的实例对象

//设置分页
pyNarcotics.setPage(new Page<>(request, response));

//设置不分页
pyNarcotics.setPage(null);

 Finally solved:

Guess you like

Origin blog.csdn.net/qq_37725560/article/details/92834811