refactor(仪表板): 仪表板详情弹框显示用户别名

This commit is contained in:
wangjiahao 2022-09-20 11:13:08 +08:00
parent 2217d46a8d
commit 53dbd841a6

View File

@ -14,7 +14,12 @@
</resultMap> </resultMap>
<select id="findOneWithPrivileges" resultMap="BaseResultMapDTO"> <select id="findOneWithPrivileges" resultMap="BaseResultMapDTO">
select panel_group.*,panel_group.name as label ,(select nick_name from sys_user where username =panel_group.create_by) as creator_name, get_auths(panel_group.id,'panel',#{userId}) as `privileges` from panel_group where id =#{panelId} select panel_group.*,
panel_group.name as label,
(select nick_name from sys_user where username = panel_group.create_by) as creator_name,
get_auths(panel_group.id, 'panel', #{userId}) as `privileges`
from panel_group
where id = #{panelId}
</select> </select>
<select id="panelGroupInit" resultMap="BaseResultMapDTO"> <select id="panelGroupInit" resultMap="BaseResultMapDTO">