达梦适配修改

This commit is contained in:
王奎兴
2025-12-05 16:41:05 +08:00
parent 32f12bb138
commit 8ea6aa7e8f
14 changed files with 19 additions and 19 deletions
@@ -193,7 +193,7 @@
LEFT JOIN (
SELECT
user_id,
WM_CONCAT( DISTINCT r.role_name SEPARATOR '&' ) roleName
LISTAGG(DISTINCT r.role_name, '&') WITHIN GROUP(ORDER BY r.role_name) AS roleName
FROM
role r
LEFT JOIN user_role ur ON r.role_id = ur.role_id
@@ -822,7 +822,7 @@
AND u.del_flag = 1
LEFT JOIN (SELECT
user_id,
WM_CONCAT( DISTINCT r.role_code SEPARATOR '&' ) roleCode
LISTAGG(DISTINCT r.role_code, '&') WITHIN GROUP(ORDER BY r.role_code) AS roleCode
FROM
role r
LEFT JOIN user_role ur ON r.role_id = ur.role_id