From ed4f30cb2c05929ae99bc8aa4f981f68e1dfadab Mon Sep 17 00:00:00 2001 From: ruansheng Date: Fri, 21 Nov 2025 17:13:52 +0800 Subject: [PATCH 1/3] =?UTF-8?q?feat:=20-m=20core=20=E6=96=B0=E5=A2=9EgetQu?= =?UTF-8?q?eryColumn=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/mybatisflex/core/query/QueryOrderBy.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/query/QueryOrderBy.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/query/QueryOrderBy.java index 319a9747..371d2570 100644 --- a/mybatis-flex-core/src/main/java/com/mybatisflex/core/query/QueryOrderBy.java +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/query/QueryOrderBy.java @@ -66,6 +66,9 @@ public class QueryOrderBy implements CloneSupport { return this; } + public QueryColumn getQueryColumn() { + return this.queryColumn; + } public String toSql(List queryTables, IDialect dialect) { String sql = queryColumn.toConditionSql(queryTables, dialect) + orderType; From ce23df8b09c965c6177e47fe649eed2427ea35b0 Mon Sep 17 00:00:00 2001 From: ruansheng Date: Fri, 21 Nov 2025 17:28:46 +0800 Subject: [PATCH 2/3] =?UTF-8?q?feat:=20-m=20query=20=E6=96=B0=E5=A2=9EOrde?= =?UTF-8?q?rType=E8=8E=B7=E5=8F=96=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/mybatisflex/core/query/QueryOrderBy.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/query/QueryOrderBy.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/query/QueryOrderBy.java index 371d2570..81c2adb2 100644 --- a/mybatis-flex-core/src/main/java/com/mybatisflex/core/query/QueryOrderBy.java +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/query/QueryOrderBy.java @@ -70,6 +70,10 @@ public class QueryOrderBy implements CloneSupport { return this.queryColumn; } + public String getOrderType() { + return orderType; + } + public String toSql(List queryTables, IDialect dialect) { String sql = queryColumn.toConditionSql(queryTables, dialect) + orderType; if (nullsFirst) { From 9469a727a21b7515cb889a4a8f5e455827551966 Mon Sep 17 00:00:00 2001 From: ruansheng Date: Sat, 22 Nov 2025 11:57:07 +0800 Subject: [PATCH 3/3] =?UTF-8?q?feat:=20-m=20core=20=E9=A3=8E=E6=A0=BC?= =?UTF-8?q?=E7=BB=9F=E4=B8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/mybatisflex/core/query/QueryOrderBy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/query/QueryOrderBy.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/query/QueryOrderBy.java index 81c2adb2..67571a43 100644 --- a/mybatis-flex-core/src/main/java/com/mybatisflex/core/query/QueryOrderBy.java +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/query/QueryOrderBy.java @@ -71,7 +71,7 @@ public class QueryOrderBy implements CloneSupport { } public String getOrderType() { - return orderType; + return this.orderType; } public String toSql(List queryTables, IDialect dialect) {