We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@QueryFenix(nativeQuery = true) List<User> queryList(Integer status);
<andEqual field="t.status" value="status" match="?status != empty" />
status 为 null 或 0 判断都一样 , 这个有什么好的解决方法吗
The text was updated successfully, but these errors were encountered:
@masankin empty是空的含义,比 null 的空的含义更广,根据具体的类型的不同,也会有些不同意义的空值。如果你想只判断 null 情况的化,那你直接写成 ?status != null 就行。
empty
null
?status != null
Sorry, something went wrong.
No branches or pull requests
<andEqual field="t.status" value="status" match="?status != empty" />
status 为 null 或 0 判断都一样 , 这个有什么好的解决方法吗
The text was updated successfully, but these errors were encountered: