Commit ee8220c1 authored by Elune's avatar Elune Committed by Gitee
Browse files

!6 url参数为空时,sql生成bug

Merge pull request !6 from zhr0001/master
parents 1b574b59 3a6a7d9d
......@@ -40,7 +40,7 @@ public class QueryHelp {
String attributeName = isBlank(propName) ? field.getName() : propName;
Class<?> fieldType = field.getType();
Object val = field.get(query);
if (ObjectUtil.isNull(val)) {
if (ObjectUtil.isNull(val) || "".equals(val)) {
continue;
}
Join join = null;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment