怎么分权限啊,用sql,就普通报表
那就根据登录热你账户,where 过滤
例如
select * from 表 where 人员='${fine_username}'
grant 权限 on 数据库名.表名 to 用户名@登陆方式 identified by‘password‘