mirror of
https://github.com/hs-web/hsweb-framework.git
synced 2026-06-02 02:43:59 +08:00
修复orderBy失效
This commit is contained in:
@@ -168,7 +168,7 @@ public class QueryParamEntity extends QueryParam {
|
||||
*/
|
||||
public void setOrderBy(String orderBy) {
|
||||
this.orderBy = orderBy;
|
||||
if (StringUtils.isEmpty(where)) {
|
||||
if (StringUtils.isEmpty(orderBy)) {
|
||||
return;
|
||||
}
|
||||
setSorts(TermExpressionParser.parseOrder(orderBy));
|
||||
|
||||
Reference in New Issue
Block a user