"src/main/git@ustchcs.com:gujinli1118/MCMS.git" did not exist on "eac66fa025dcb25d789bcce447d5796c148cd9a1"
Commit 698ed7ed authored by ZhengJie's avatar ZhengJie
Browse files

[代码完善](v2.5): 部门查询优化

parent acaf83af
...@@ -258,7 +258,7 @@ public class DeptServiceImpl implements DeptService { ...@@ -258,7 +258,7 @@ public class DeptServiceImpl implements DeptService {
for (DeptDto deptDto : list) { for (DeptDto deptDto : list) {
boolean flag = true; boolean flag = true;
for (DeptDto dto : list) { for (DeptDto dto : list) {
if (deptDto.getPid()!= null && deptDto.getPid().equals(dto.getId())) { if (dto.getId().equals(deptDto.getPid())) {
flag = false; flag = false;
break; break;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment