mirror of https://github.com/elunez/eladmin
commit
71e7ecbd67
|
@ -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