达梦适配修改
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user