From ce23df8b09c965c6177e47fe649eed2427ea35b0 Mon Sep 17 00:00:00 2001 From: ruansheng Date: Fri, 21 Nov 2025 17:28:46 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20-m=20query=20=E6=96=B0=E5=A2=9EOrderTyp?= =?UTF-8?q?e=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) {