Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
chnmuseum-party
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liqin
chnmuseum-party
Commits
aac1e226
Commit
aac1e226
authored
May 27, 2021
by
wzp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
314e4c99
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
TUserController.java
...va/cn/chnmuseum/party/web/controller/TUserController.java
+2
-1
No files found.
src/main/java/cn/chnmuseum/party/web/controller/TUserController.java
View file @
aac1e226
...
@@ -108,7 +108,8 @@ public class TUserController extends BaseController {
...
@@ -108,7 +108,8 @@ public class TUserController extends BaseController {
if
(
"2"
.
equals
(
type
))
{
if
(
"2"
.
equals
(
type
))
{
List
<
String
>
roleList
=
user1
.
getRoleList
();
List
<
String
>
roleList
=
user1
.
getRoleList
();
//如果是单位用户,只能查看本机构的单位用户
//如果是单位用户,只能查看本机构的单位用户
if
(
roleList
!=
null
&&
!
roleList
.
contains
(
"1"
)
&&
roleList
.
contains
(
"2"
))
{
// if (roleList != null && !roleList.contains("1") && roleList.contains("2")) {
if
(
"2"
.
equals
(
user1
.
getType
()))
{
user
.
setOrgId
(
user1
.
getOrgId
());
user
.
setOrgId
(
user1
.
getOrgId
());
}
}
}
}
...
...
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