From 9ec25fd51c7ffaa428c863fda1a57bd6162a2c4b Mon Sep 17 00:00:00 2001 From: sunjiabei Date: Wed, 23 Jul 2025 16:54:08 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=92=E8=89=B2=E6=97=B6=E9=97=B4=E6=8E=92?= =?UTF-8?q?=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/mapper/RoleMapper.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/resources/mapper/RoleMapper.xml b/src/main/resources/mapper/RoleMapper.xml index 64add82..60ca414 100644 --- a/src/main/resources/mapper/RoleMapper.xml +++ b/src/main/resources/mapper/RoleMapper.xml @@ -75,6 +75,8 @@ r.priority AS priority, r.father_id AS fatherId, r.market AS market, + r.create_time AS createTime, + r.update_time AS updateTime, -- 通过自连接查询父角色名称 father.role_name AS fatherName FROM role r @@ -95,7 +97,7 @@ - ORDER BY r.priority DESC + ORDER BY r.update_time DESC,r.priority DESC