Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
finance-manage
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
finance-oa
finance-manage
Commits
0a51f7d7
Commit
0a51f7d7
authored
Sep 02, 2020
by
tzg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
空值处理
parent
4f86b6d9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
ruoyi-framework/src/main/java/com/ruoyi/framework/aspectj/DataScopeAspect.java
...ain/java/com/ruoyi/framework/aspectj/DataScopeAspect.java
+3
-0
No files found.
ruoyi-framework/src/main/java/com/ruoyi/framework/aspectj/DataScopeAspect.java
View file @
0a51f7d7
...
@@ -79,6 +79,9 @@ public class DataScopeAspect
...
@@ -79,6 +79,9 @@ public class DataScopeAspect
}
}
// 获取当前的用户
// 获取当前的用户
LoginUser
loginUser
=
SpringUtils
.
getBean
(
TokenService
.
class
).
getLoginUser
(
ServletUtils
.
getRequest
());
LoginUser
loginUser
=
SpringUtils
.
getBean
(
TokenService
.
class
).
getLoginUser
(
ServletUtils
.
getRequest
());
if
(
loginUser
==
null
)
{
return
;
}
SysUser
currentUser
=
loginUser
.
getUser
();
SysUser
currentUser
=
loginUser
.
getUser
();
if
(
currentUser
!=
null
)
if
(
currentUser
!=
null
)
{
{
...
...
Write
Preview
Markdown
is supported
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