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

QueryHelp.getPredicate方法中重复添加join #655

Closed
ilikeclean opened this issue Jul 7, 2021 · 1 comment
Closed

QueryHelp.getPredicate方法中重复添加join #655

ilikeclean opened this issue Jul 7, 2021 · 1 comment

Comments

@ilikeclean
Copy link

1.版本: v2.6
2.环境:本地、线上
3复现步骤: @query注解在不同字段上的joinName都是同一张表,在调用该方法后,获取到sql是每一个加注解的字段都join了一次表,这样出来的sql不是我想要的结果。请问这样是我使用注解的方式有问题吗
image
image

@shanezhiu
Copy link
Contributor

你的query用的没有错,我也遇见过。

@elunez elunez closed this as completed in db5c2ab Jul 5, 2023
elunez added a commit that referenced this issue Jul 5, 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

2 participants