Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
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
Administrator
dsk-cr20g
Commits
91b71112
Commit
91b71112
authored
Sep 07, 2023
by
施翔轲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复组织详情中负责人显示不正确的问题
parent
aeec86d1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
SysDeptServiceImpl.java
.../java/com/dsk/system/service/impl/SysDeptServiceImpl.java
+2
-0
No files found.
dsk-system/src/main/java/com/dsk/system/service/impl/SysDeptServiceImpl.java
View file @
91b71112
...
...
@@ -123,6 +123,8 @@ public class SysDeptServiceImpl implements ISysDeptService, DeptService {
SysDept
parentDept
=
baseMapper
.
selectOne
(
new
LambdaQueryWrapper
<
SysDept
>()
.
select
(
SysDept:
:
getDeptName
).
eq
(
SysDept:
:
getDeptId
,
dept
.
getParentId
()));
dept
.
setParentName
(
ObjectUtil
.
isNotNull
(
parentDept
)
?
parentDept
.
getDeptName
()
:
null
);
SysUser
sysUser
=
userMapper
.
selectById
(
dept
.
getLeader
());
dept
.
setLeader
(
ObjectUtil
.
isNotNull
(
sysUser
)
?
sysUser
.
getNickName
()
:
null
);
return
dept
;
}
...
...
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