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
Springboot Plus
Commits
f18b83f4
Commit
f18b83f4
authored
Apr 05, 2019
by
mars
Committed by
闲.大赋
Apr 05, 2019
Browse files
!29 修复由数据权限引起的查询结果集异常问题。
Merge pull request !29 from mars/master
parents
39ac361b
e6c0c971
Changes
1
Hide whitespace changes
Inline
Side-by-side
admin-core/src/main/java/com/ibeetl/admin/core/util/beetl/DataAccessFunction.java
View file @
f18b83f4
...
@@ -82,7 +82,7 @@ public class DataAccessFunction implements Function {
...
@@ -82,7 +82,7 @@ public class DataAccessFunction implements Function {
List
<
Object
>
list
=
(
List
<
Object
>)
ctx
.
getGlobal
(
"_paras"
);
List
<
Object
>
list
=
(
List
<
Object
>)
ctx
.
getGlobal
(
"_paras"
);
StringBuilder
sb
=
new
StringBuilder
(
"
"
);
StringBuilder
sb
=
new
StringBuilder
(
"
(
"
);
//数据权限范围划定
//数据权限范围划定
boolean
hasAppend
=
false
;
boolean
hasAppend
=
false
;
for
(
int
i
=
0
;
i
<
roleFuns
.
size
();
i
++){
for
(
int
i
=
0
;
i
<
roleFuns
.
size
();
i
++){
...
@@ -165,7 +165,7 @@ public class DataAccessFunction implements Function {
...
@@ -165,7 +165,7 @@ public class DataAccessFunction implements Function {
}
}
sb
.
append
(
" ) "
);
return
sb
.
toString
();
return
sb
.
toString
();
}
}
...
...
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