mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-06 16:48: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;
|
||||
}
|
||||
|
||||
public QueryColumn getQueryColumn() {
|
||||
return this.queryColumn;
|
||||
}
|
||||
|
||||
public String getOrderType() {
|
||||
return this.orderType;
|
||||
}
|
||||
|
||||
public String toSql(List<QueryTable> queryTables, IDialect dialect) {
|
||||
String sql = queryColumn.toConditionSql(queryTables, dialect) + orderType;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user