forked from github/dataease
refactor(仪表板): 仪表板详情弹框显示用户别名
This commit is contained in:
parent
2217d46a8d
commit
53dbd841a6
@ -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">
|
||||||
|
Loading…
Reference in New Issue
Block a user