forked from github/dataease
Merge pull request #1769 from dataease/pr@dev@feat_share_name
feat: 分享显示名优化
This commit is contained in:
commit
d7519a9328
@ -34,9 +34,10 @@
|
||||
</delete>
|
||||
|
||||
<select id="query" resultMap="treeNodeMap">
|
||||
select distinct s.panel_group_id as id, IFNULL(s.granter,g.create_by) as creator, g.name
|
||||
select distinct s.panel_group_id as id, u.nick_name as creator, g.name
|
||||
from panel_share s
|
||||
left join panel_group g on g.id = s.panel_group_id
|
||||
left join sys_user u on u.username = IFNULL(s.granter,g.create_by)
|
||||
where
|
||||
( s.target_id = #{userId} and s.type = 0 ) or
|
||||
( s.target_id = #{deptId} and s.type = 2 ) or
|
||||
|
Loading…
Reference in New Issue
Block a user