Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

系统自动增加limit #3

Open
keimzhao opened this issue Oct 25, 2018 · 2 comments
Open

系统自动增加limit #3

keimzhao opened this issue Oct 25, 2018 · 2 comments

Comments

@keimzhao
Copy link

大师,请教 一下,你这个框架中有使用到分页功能,但是在使用中会自动增加limit ?这个东西,如何设置让这个东西不要自动增加呢,我测试只要查询他就会自动加上limit ?就会导致报错。
这个有解决方案吗,还是说一定要修改framework才可以

@lhrimperial
Copy link
Owner

默认有5000条分页,这样比较安全一点,如果你要查更多数据,把upperLimit设置大一些,你要分页通过PageHelper.startPage(pageNo, pageSize);这样去做,如果要去掉得改framework代码

@keimzhao
Copy link
Author

keimzhao commented Oct 26, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants