Browse Source

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

Signed-off-by: 0慕容雪0 <ytu.mxh@163.com>
0慕容雪0 2 years ago
parent
commit
628bc94a9a

+ 2 - 1
ruoyi-framework/src/main/java/com/ruoyi/framework/aspectj/DataScopeAspect.java

@@ -106,8 +106,9 @@ public class DataScopeAspect
                 continue;
             }
             if (DATA_SCOPE_ALL.equals(dataScope))
-            {
+            {                                
                 sqlString = new StringBuilder();
+                conditions.add(dataScope);
                 break;
             }
             else if (DATA_SCOPE_CUSTOM.equals(dataScope))