Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

数据权限问题,请求作者帮忙 #532

Closed
Nicky213Zhang opened this issue Sep 12, 2019 · 3 comments
Closed

数据权限问题,请求作者帮忙 #532

Nicky213Zhang opened this issue Sep 12, 2019 · 3 comments

Comments

@Nicky213Zhang
Copy link

版本号:

当前最新版本: 2.1.0(发布日期:20190826)

问题描述:

系统部门管理模块无法添加数据权限问题,@PermissionData(pageComponent="system/DepartList")无效,发现问题为:

截图&代码:

1
2
3
问题:没有走mybatis-plus查询条件的就没办法动态加入数据权限范围的sql,请问有办法可以解决吗

友情提示: 未按格式要求发帖,会直接删掉。

@zhangdaiscott
Copy link
Member

数据权限规则是在查询过滤器里面加的,不用查询过滤器,暂时不行,需要手工加上查询规则片段了

@zhangdaiscott
Copy link
Member

参考这段代码
org/jeecg/common/system/query/QueryGenerator.java:98

image

@zhangdaiscott
Copy link
Member

此问题已经处理,新版发布

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants