部门树修改
This commit is contained in:
@@ -148,9 +148,6 @@ public class DeptServiceImpl extends ServiceImpl<DeptMapper, Dept> implements ID
|
||||
.filter(deptVO -> deptVO.getId().equals(deptIndex))
|
||||
.peek(deptFirst -> {
|
||||
deptFirst.setChildren(getChildren(deptFirst, deptList));
|
||||
if (deptFirst.getType() == 0) {
|
||||
deptFirst.setName(deptFirst.getName());
|
||||
}
|
||||
})
|
||||
.collect(Collectors.toList());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user