mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-08 01:28:24 +08:00
feat: QueryWrapper 适配器添加动态排序。
This commit is contained in:
parent
00cf344334
commit
bce9d25d49
@ -565,17 +565,35 @@ public class QueryWrapperAdapter<R extends QueryWrapperAdapter<R>> extends Query
|
||||
return (R) this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public R orderBy(QueryColumn column, Boolean asc) {
|
||||
super.orderBy(column, asc);
|
||||
return (R) this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public R orderBy(QueryOrderBy... orderBys) {
|
||||
super.orderBy(orderBys);
|
||||
return (R) this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T> R orderBy(LambdaGetter<T> column, Boolean asc) {
|
||||
super.orderBy(column, asc);
|
||||
return (R) this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T> QueryOrderByBuilder<R> orderBy(LambdaGetter<T> getter) {
|
||||
return (QueryOrderByBuilder<R>) super.orderBy(getter);
|
||||
}
|
||||
|
||||
@Override
|
||||
public R orderBy(String column, Boolean asc) {
|
||||
super.orderBy(column, asc);
|
||||
return (R) this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public R orderBy(String... orderBys) {
|
||||
super.orderBy(orderBys);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user