修复一个缺少break语句的bug (#214)

pull/217/head
Jiang Mengfeng 2019-12-04 09:22:45 +08:00 committed by elunez
parent 84a65048f0
commit 1123f35349
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));