Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
谢明辉
/
vion-label
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a2c8aede
authored
Oct 09, 2021
by
xmh
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
<feature> 非管理员用户无法看到管理员账号
1 parent
4cd5b5a4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
label-platform/src/main/java/com/viontech/label/platform/controller/web/UserController.java
label-platform/src/main/java/com/viontech/label/platform/controller/web/UserController.java
View file @
a2c8aed
...
@@ -33,6 +33,7 @@ public class UserController extends UserBaseController {
...
@@ -33,6 +33,7 @@ public class UserController extends UserBaseController {
if
(!
currentUser
.
getType
().
equals
(
0
))
{
if
(!
currentUser
.
getType
().
equals
(
0
))
{
Long
accountId
=
currentUser
.
getAccountId
();
Long
accountId
=
currentUser
.
getAccountId
();
userVo
.
setAccountId
(
accountId
);
userVo
.
setAccountId
(
accountId
);
userVo
.
setType_gt
(
0
);
}
}
UserExample
example
=
(
UserExample
)
super
.
getExample
(
userVo
,
type
);
UserExample
example
=
(
UserExample
)
super
.
getExample
(
userVo
,
type
);
example
.
createColumns
().
hasCreateTimeColumn
().
hasCreateUserColumn
().
hasIdColumn
().
hasAccountIdColumn
().
hasLastLoginTimeColumn
().
hasNameColumn
()
example
.
createColumns
().
hasCreateTimeColumn
().
hasCreateUserColumn
().
hasIdColumn
().
hasAccountIdColumn
().
hasLastLoginTimeColumn
().
hasNameColumn
()
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment