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
acaf83af
Commit
acaf83af
authored
Aug 17, 2020
by
ZhengJie
Browse files
[代码完善](v2.5): 部门查询优化
parent
49f3b0a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
eladmin-system/src/main/java/me/zhengjie/modules/system/service/impl/DeptServiceImpl.java
View file @
acaf83af
...
...
@@ -258,7 +258,7 @@ public class DeptServiceImpl implements DeptService {
for
(
DeptDto
deptDto
:
list
)
{
boolean
flag
=
true
;
for
(
DeptDto
dto
:
list
)
{
if
(
deptDto
.
getPid
().
equals
(
dto
.
getId
()))
{
if
(
deptDto
.
getPid
()!=
null
&&
deptDto
.
getPid
().
equals
(
dto
.
getId
()))
{
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