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
ee8220c1
Commit
ee8220c1
authored
Sep 25, 2019
by
Elune
Committed by
Gitee
Sep 25, 2019
Browse files
!6 url参数为空时,sql生成bug
Merge pull request !6 from zhr0001/master
parents
1b574b59
3a6a7d9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
eladmin-common/src/main/java/me/zhengjie/utils/QueryHelp.java
View file @
ee8220c1
...
...
@@ -40,7 +40,7 @@ public class QueryHelp {
String
attributeName
=
isBlank
(
propName
)
?
field
.
getName
()
:
propName
;
Class
<?>
fieldType
=
field
.
getType
();
Object
val
=
field
.
get
(
query
);
if
(
ObjectUtil
.
isNull
(
val
))
{
if
(
ObjectUtil
.
isNull
(
val
)
||
""
.
equals
(
val
)
)
{
continue
;
}
Join
join
=
null
;
...
...
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