Skip to content

Commit

Permalink
Merge branch 'master' of gitee.com:elunez/eladmin
Browse files Browse the repository at this point in the history
  • Loading branch information
elunez committed Sep 26, 2019
2 parents 90ea819 + ee8220c commit d0ffe1a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public static <R, Q> Predicate getPredicate(Root<R> root, Q query, CriteriaBuild
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;
Expand Down

0 comments on commit d0ffe1a

Please sign in to comment.