Commit 1123f353 authored by Jiang Mengfeng's avatar Jiang Mengfeng Committed by elunez
Browse files

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

parent 84a65048
...@@ -101,6 +101,7 @@ public class QueryHelp { ...@@ -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));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment