Skip to content

Commit

Permalink
修复一个缺少break语句的bug (#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhpx authored and elunez committed Dec 4, 2019
1 parent 84a6504 commit 1123f35
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ public static <R, Q> Predicate getPredicate(Root<R> root, Q query, CriteriaBuild
case RIGHT_LIKE:
list.add(cb.like(getExpression(attributeName,join,root)
.as(String.class), val.toString() + "%"));
break;
case IN:
if (CollUtil.isNotEmpty((Collection<Long>)val)) {
list.add(getExpression(attributeName,join,root).in((Collection<Long>) val));
Expand Down

0 comments on commit 1123f35

Please sign in to comment.