达梦适配修改

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
@@ -335,7 +335,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
left join "USER" u on ud.user_id = u.user_id
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