Merge pull request #4 from elunez/2.4dev

修复一个缺少break语句的bug (#214)
pull/217/head
zoulejiu 2019-12-04 13:53:47 +08:00 committed by GitHub
commit 71e7ecbd67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -101,6 +101,7 @@ public class QueryHelp {
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));