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

高级查询Bug #7583

Open
xiaoLogin opened this issue Dec 12, 2024 · 3 comments
Open

高级查询Bug #7583

xiaoLogin opened this issue Dec 12, 2024 · 3 comments

Comments

@xiaoLogin
Copy link

版本号:

3.7.1

问题描述:

高级查询中,选择一个字段,查询条件:“为空”,无法生成SQL
List filterConditions = conditions.stream().filter(
rule -> oConvertUtils.isNotEmpty(rule.getField())
&& oConvertUtils.isNotEmpty(rule.getRule())
&& oConvertUtils.isNotEmpty(rule.getVal())
image

此时val为空,所以生成的filterConditions也为空

错误截图:

友情提示:

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

啥意思

@xiaoLogin
Copy link
Author

高级查询,只查询某个字段“为空”的时候,无法生成正确的SQL

@zhangdaiscott
Copy link
Member

online还是生成的代码

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