mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
Merge pull request #615 from ruansheng8/feat-orderBy
QueryOrderBy 新增获取字段属性方法
This commit is contained in:
commit
9895a79a5b
@ -66,6 +66,13 @@ public class QueryOrderBy implements CloneSupport<QueryOrderBy> {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public QueryColumn getQueryColumn() {
|
||||||
|
return this.queryColumn;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getOrderType() {
|
||||||
|
return this.orderType;
|
||||||
|
}
|
||||||
|
|
||||||
public String toSql(List<QueryTable> queryTables, IDialect dialect) {
|
public String toSql(List<QueryTable> queryTables, IDialect dialect) {
|
||||||
String sql = queryColumn.toConditionSql(queryTables, dialect) + orderType;
|
String sql = queryColumn.toConditionSql(queryTables, dialect) + orderType;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user