mirror of https://github.com/elunez/eladmin
修复一个缺少break语句的bug
parent
84a65048f0
commit
305052f318
|
@ -101,6 +101,7 @@ public class QueryHelp {
|
||||||
case RIGHT_LIKE:
|
case RIGHT_LIKE:
|
||||||
list.add(cb.like(getExpression(attributeName,join,root)
|
list.add(cb.like(getExpression(attributeName,join,root)
|
||||||
.as(String.class), val.toString() + "%"));
|
.as(String.class), val.toString() + "%"));
|
||||||
|
break;
|
||||||
case IN:
|
case IN:
|
||||||
if (CollUtil.isNotEmpty((Collection<Long>)val)) {
|
if (CollUtil.isNotEmpty((Collection<Long>)val)) {
|
||||||
list.add(getExpression(attributeName,join,root).in((Collection<Long>) val));
|
list.add(getExpression(attributeName,join,root).in((Collection<Long>) val));
|
||||||
|
|
Loading…
Reference in New Issue