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

租户插件多表查询时字段拼接在ON后面 #5902

Open
guqiyao opened this issue Jan 2, 2024 · 0 comments
Open

租户插件多表查询时字段拼接在ON后面 #5902

guqiyao opened this issue Jan 2, 2024 · 0 comments

Comments

@guqiyao
Copy link

guqiyao commented Jan 2, 2024

当前使用版本(必填,否则不予处理)

spring boot starter
3.5.3.1

该问题是如何引起的?(确定最新版也有问题再提!!!)

使用多表查询时

重现步骤(如果有就写完整)

使用多表查询时

报错信息

没报错, 举:
期望: select * from A a inner join B a on a.id = b.id WHERE a.tenant_id = ?
实际: select * from A a inner join B a on a.id = b.id AND a.tenant_id = ?

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

1 participant