We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
应该在Page类中判断是否有addOrder,有的话应该将默认排序remove,否则结果不是自己要的排序方式。
The text was updated successfully, but these errors were encountered:
移除默认排序条件,建议在service层控制,如: if (!StringUtils.isNotEmpty(page.getOrderBy())){ dc.addOrder(Order.asc("area.code")).addOrder(Order.asc("office.code")); }
Sorry, something went wrong.
No branches or pull requests
应该在Page类中判断是否有addOrder,有的话应该将默认排序remove,否则结果不是自己要的排序方式。
The text was updated successfully, but these errors were encountered: