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

版本号:master 多租户模式下 数据权限使用变量:#{tenant_id} 报错 #7481

Open
geegku opened this issue Nov 21, 2024 · 1 comment

Comments

@geegku
Copy link

geegku commented Nov 21, 2024

版本号:master

开启了多租户模式

问题描述:B方式: 通过请求URL实现数据权限,数据规则系统自动属性:#{tenant_id} 配置上报错;

提示 Integer 转换成错误!

临时解决:QueryGenerator,添加了下面代码。
image

错误截图:

系统把 #{tenant_id} 变量之间转 Integer 报错了。
image

友情提示:

  • 未按格式要求发帖、描述过于简单的,会被直接删掉;
  • 描述问题请图文并茂,方便我们理解并快速定位问题;
  • 如果使用的不是master,请说明你使用的分支;
@zhangdaiscott
Copy link
Member

cr

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