作者 0慕容雪0
提交者 Gitee

update ruoyi-framework/src/main/java/com/ruoyi/framework/aspectj/DataScopeAspect.java.

Signed-off-by: 0慕容雪0 <ytu.mxh@163.com>
@@ -106,8 +106,9 @@ public class DataScopeAspect @@ -106,8 +106,9 @@ public class DataScopeAspect
106 continue; 106 continue;
107 } 107 }
108 if (DATA_SCOPE_ALL.equals(dataScope)) 108 if (DATA_SCOPE_ALL.equals(dataScope))
109 - { 109 + {
110 sqlString = new StringBuilder(); 110 sqlString = new StringBuilder();
  111 + conditions.add(dataScope);
111 break; 112 break;
112 } 113 }
113 else if (DATA_SCOPE_CUSTOM.equals(dataScope)) 114 else if (DATA_SCOPE_CUSTOM.equals(dataScope))