From 52fd89a3c439fdbf240a72487f97aad92725e9c5 Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期六, 07 六月 2025 11:32:59 +0800 Subject: [PATCH] 代码提交 --- ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml index c13724f..e2b39f7 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml @@ -79,7 +79,7 @@ </if> <!-- 鏁版嵁鑼冨洿杩囨护 --> ${params.dataScope} - order by d.parent_id, d.order_num + order by d.dept_type asc, d.parent_id, d.order_num </select> <select id="selectDeptListByRoleId" resultType="Long"> @@ -107,7 +107,7 @@ d.email, d.status, d.his_dept_id, - d.his_parent_id + d.his_parent_id, (select dept_name from sys_dept where dept_id = d.parent_id) parent_name from sys_dept d where d.dept_id = #{deptId} -- Gitblit v1.9.3