|
@@ -156,9 +156,9 @@ public class TmDepartmentServiceImpl extends ServiceImpl<ITmDepartmentMapper, Tm
|
|
if(dept == null){
|
|
if(dept == null){
|
|
return new ArrayList<>();
|
|
return new ArrayList<>();
|
|
}
|
|
}
|
|
- if("0".equals(dept.getId())){
|
|
|
|
- return this.getDeptListByParentId(dept);
|
|
|
|
- }
|
|
|
|
|
|
+// if("0".equals(dept.getId())){
|
|
|
|
+// return this.getDeptListByParentId(dept);
|
|
|
|
+// }
|
|
dept.setChildren(this.getDeptListByParentId(dept));
|
|
dept.setChildren(this.getDeptListByParentId(dept));
|
|
TmDepartment parentDept = this.getById(dept.getParentId());
|
|
TmDepartment parentDept = this.getById(dept.getParentId());
|
|
if(parentDept !=null){
|
|
if(parentDept !=null){
|