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

Signed-off-by: 0慕容雪0 <ytu.mxh@163.com>
This commit is contained in:
0慕容雪0 2023-03-11 04:31:55 +00:00 committed by Gitee
parent 4e8dd706d5
commit 628bc94a9a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 2 additions and 1 deletions

View File

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