Commit f18b83f4 authored by mars's avatar mars Committed by 闲.大赋
Browse files

!29 修复由数据权限引起的查询结果集异常问题。

Merge pull request !29 from mars/master
parents 39ac361b e6c0c971
...@@ -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();
} }
......
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