Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
eMall_api
Project
Project
Details
Activity
Releases
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
杨硕
eMall_api
Commits
5ddabadf
Commit
5ddabadf
authored
Jul 17, 2023
by
gaoyingwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加 角色列表加字段
parent
864c7391
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
RoleController.java
...com/emall/flash/api/controller/system/RoleController.java
+10
-6
No files found.
emall-admin-api/src/main/java/com/emall/flash/api/controller/system/RoleController.java
View file @
5ddabadf
...
...
@@ -81,14 +81,18 @@ public class RoleController extends BaseController {
if
(
record
.
getTenantId
()!=
null
)
{
Tenant
tenant
=
tenantService
.
get
(
record
.
getTenantId
());
record
.
setTenantName
(
tenant
.
getName
());
if
(
record
.
getPid
()!=
null
)
{
Role
role
=
roleService
.
get
(
record
.
getPid
());
if
(
role
!=
null
)
if
(
role
!=
null
)
record
.
setPidName
(
role
.
getName
());
}
if
(
record
.
getDeptid
()!=
null
)
{
Dept
dept
=
deptService
.
get
(
record
.
getDeptid
());
if
(
dept
!=
null
)
if
(
dept
!=
null
)
record
.
setDeptName
(
dept
.
getFullname
());
}
}
}
return
Rets
.
success
(
page
);
}
...
...
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