Commit bad3b49f authored by hkl's avatar hkl

feat:1.新需求提交-bug修改

parent a69dce74
......@@ -173,8 +173,8 @@
t1.username,
t1.realname,
t1.user_identity,
t3.role_name,
CONCAT(t1.username, ' | ', t1.realname, ' | ', t3.role_name) AS label
GROUP_CONCAT(DISTINCT t3.role_name ORDER BY t3.role_name SEPARATOR ', ') AS role_name,
CONCAT(t1.username, ' | ', t1.realname, ' | ', GROUP_CONCAT(DISTINCT t3.role_name ORDER BY t3.role_name SEPARATOR ', ')) AS label
FROM
sys_user t1
INNER JOIN sys_user_role t2 ON t2.user_id = t1.id
......@@ -184,5 +184,7 @@
<if test="query != null and query != ''">
AND (t1.username LIKE concat('%',#{query},'%') OR t1.realname LIKE concat('%',#{query},'%'))
</if>
GROUP BY
t1.id, t1.username, t1.realname, t1.user_identity;
</select>
</mapper>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment