From d79bed55fbf8c984b0843f64e6c2b5ccc84ad876 Mon Sep 17 00:00:00 2001
From: linbangquan <1437892690@qq.com>
Date: Tue, 7 Nov 2023 10:12:43 +0800
Subject: [PATCH] =?UTF-8?q?[=E5=8A=9F=E8=83=BD]=20=E9=87=8D=E5=BB=BA?=
=?UTF-8?q?=E5=B7=A6=E5=8F=B3=E7=BC=96=E7=A0=81=E6=8E=A5=E5=8F=A3=E5=A2=9E?=
=?UTF-8?q?=E5=8A=A0=E5=8A=A8=E6=80=81=E8=AE=BE=E7=BD=AE=E6=8E=92=E5=BA=8F?=
=?UTF-8?q?=E5=AD=97=E6=AE=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
关联 #[1018910025940992]重建左右编码接口增加动态设置排序字段 http://192.168.0.96:8090/demo/rdm.html#/story-detail/939050947543040/939050947543042/1018910025940992
---
.../framework/lrcode/dao/mapper/TreeMapper.xml | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/main/java/neatlogic/framework/lrcode/dao/mapper/TreeMapper.xml b/src/main/java/neatlogic/framework/lrcode/dao/mapper/TreeMapper.xml
index 0d1995e72..7667a5c34 100644
--- a/src/main/java/neatlogic/framework/lrcode/dao/mapper/TreeMapper.xml
+++ b/src/main/java/neatlogic/framework/lrcode/dao/mapper/TreeMapper.xml
@@ -72,9 +72,14 @@
and ${condition}
-
- ORDER BY a.`${sortKey}`
-
+
+
+ ORDER BY a.`${sortKey}`
+
+
+ ORDER BY a.`lft`, a.`${idKey}`
+
+
--
Gitee