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
PageHelper.offsetPage使用,预期结果只有1条,count为true或false,结果返回不一致。 #773
Labels
Comments
测试发现count为true,false不影响分页sql,没有问题。
|
这两个例子都是count为true的呀? |
false也测试了,和true的结果一样。。我找时间再试试mysql。 |
PageHelper 版本: 5.3.1 |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
异常模板
数据库中有4条数据,
PageHelper.offsetPage(3, 4, true) 返回结果是数据库中的全部4条;
PageHelper.offsetPage(3, 4, false) 返回结果是数据库中的最后1条,和预期一致;
但是
PageHelper.offsetPage(2, 4, true);
PageHelper.offsetPage(2, 4, false);
返回结果都是数据库中的最后2条.
使用环境
SQL 解析错误
分页参数
原 SQL
期望的结果:
其他类型的错误
功能建议
count为true或false时结果应一致。
The text was updated successfully, but these errors were encountered: