From 427f9796bf60fe1262131a8fd6ae6c25e02574be Mon Sep 17 00:00:00 2001
From: heheng <475597332@qq.com>
Date: 星期二, 08 七月 2025 10:27:37 +0800
Subject: [PATCH] 排序改造

---
 multi-system/src/main/resources/mapper/system/SysFunctionalDistributionMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/multi-system/src/main/resources/mapper/system/SysFunctionalDistributionMapper.xml b/multi-system/src/main/resources/mapper/system/SysFunctionalDistributionMapper.xml
index a08c601..7d5b3c4 100644
--- a/multi-system/src/main/resources/mapper/system/SysFunctionalDistributionMapper.xml
+++ b/multi-system/src/main/resources/mapper/system/SysFunctionalDistributionMapper.xml
@@ -31,7 +31,7 @@
 		from sys_functional_distribution a
 		left join sys_dept b on a.dept_id = b.dept_id
 		where 1=1 and a.company_id = #{companyId}
-		order by a.clause_num asc
+		order by b.order_num asc ,a.clause_num asc
 
 	</select>
 	<insert id="batchInsert">

--
Gitblit v1.9.2