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

关于同个参数多个不同标签解析like问题 #72

Open
chenmu5241 opened this issue Nov 9, 2022 · 1 comment
Open

关于同个参数多个不同标签解析like问题 #72

chenmu5241 opened this issue Nov 9, 2022 · 1 comment

Comments

@chenmu5241
Copy link

1
2
如图,如果是有like又有equal的标签,会使用是带有百分号的属性,非常感谢作者给我们的福利,期待3.0

@blinkfox
Copy link
Owner

@chenmu5241 你的写法有些问题,Fenix 生成的 SQL 参数,是根据 value 来生成 JPA 的参数名称的,你可以开 Fenix 的 debug 模式看下参数名是不是都一样了,导致得到的参数值一样。你可以设置下每个标签的 name 值,用来区分 JPA SQL 语句中的参数名称。

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