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

数据权限通过SYS_ORG_CODE控制需要自己在添加数据的时候赋值吗 #53

Closed
sunguangsheng opened this issue Apr 17, 2019 · 6 comments

Comments

@sunguangsheng
Copy link

想要数据权限通过SYS_ORG_CODE控制需要自己在添加数据的时候给SYS_ORG_CODE赋值吗

@zhangdaiscott
Copy link
Member

不需要,需要给表加上对应字段

@sunguangsheng
Copy link
Author

我在表中加了字段但是不会自动赋值,我看了一下代码,应该是在mybatis拦截器中没有给赋值吧,我改改这个拦截器应该就行了吧

@zhangdaiscott
Copy link
Member

麻烦详细发出你的配置,默认会自动注入的

@xwsg
Copy link

xwsg commented Apr 23, 2019

我给表加上sys_org_code 字段后,添加数据时并没有自动注入,麻烦确认一下,没有找到赋值相关的代码 @zhangdaiscott

@zhangdaiscott
Copy link
Member

这个逻辑还没写

@zhangdaiscott
Copy link
Member

已经解决下个版本发布

lexmeng pushed a commit to lexmeng/jeecg-boot that referenced this issue Jun 30, 2023
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

3 participants