Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
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
67637971
Commit
67637971
authored
Apr 14, 2021
by
wzp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
5e817da3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
TUserController.java
...nergy/chnmuseum/party/web/controller/TUserController.java
+3
-0
No files found.
src/main/java/cn/wisenergy/chnmuseum/party/web/controller/TUserController.java
View file @
67637971
...
...
@@ -92,6 +92,9 @@ public class TUserController extends BaseController {
if
(
user1
.
getRoleList
().
size
()>
0
&&!
user1
.
getRoleList
().
contains
(
"1"
))
{
//设置用户数据权限
user
.
setOrgCode
(
user1
.
getOrgCode
());
if
(
user1
.
getRoleList
().
contains
(
"3"
)){
user
.
setOrgCode
(
null
);
}
}
if
(
"2"
.
equals
(
type
))
{
List
<
String
>
roleList
=
user1
.
getRoleList
();
...
...
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