Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Eladmin
Commits
1123f353
Commit
1123f353
authored
Dec 04, 2019
by
Jiang Mengfeng
Committed by
elunez
Dec 04, 2019
Browse files
修复一个缺少break语句的bug (#214)
parent
84a65048
Changes
1
Hide whitespace changes
Inline
Side-by-side
eladmin-common/src/main/java/me/zhengjie/utils/QueryHelp.java
View file @
1123f353
...
@@ -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
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment