已知 图里的角色有管理报表目录下的所有报表权限,fine_authority_object表里为什么只会存一条记录。如果我查出其所有的报表该怎么做 select distinct a.username,a.realname,b.roleid,c.name ,e.parentid,e.displayname,e.path from fine_user a left join fine_user_role_middle b ON a.id = b.userid left join FINE_CUSTOM_ROLE c on c.id = b.roleid left join fine_authority d ON d.roleid = b.roleid left join FINE_AUTHORITY_OBJECT e on e.id = d.authorityentityid where realname = 'XX' |