Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Eladmin
Commits
698ed7ed
Commit
698ed7ed
authored
Aug 25, 2020
by
ZhengJie
Browse files
[代码完善](v2.5): 部门查询优化
parent
acaf83af
Changes
1
Hide whitespace changes
Inline
Side-by-side
eladmin-system/src/main/java/me/zhengjie/modules/system/service/impl/DeptServiceImpl.java
View file @
698ed7ed
...
...
@@ -258,7 +258,7 @@ public class DeptServiceImpl implements DeptService {
for
(
DeptDto
deptDto
:
list
)
{
boolean
flag
=
true
;
for
(
DeptDto
dto
:
list
)
{
if
(
d
eptD
to
.
get
Pi
d
()
!=
null
&&
deptDto
.
getPid
()
.
equals
(
dto
.
getId
()
))
{
if
(
dto
.
get
I
d
()
.
equals
(
deptDto
.
getPid
()))
{
flag
=
false
;
break
;
}
...
...
Write
Preview
Supports
Markdown
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