|
|
@ -151,7 +151,7 @@ public class DeptServiceImpl extends ServiceImpl<SysDeptMapper, SysDept> impleme |
|
|
|
// 默认加一个顶级方便新增顶级部门
|
|
|
|
// 默认加一个顶级方便新增顶级部门
|
|
|
|
DeptRespNodeVO respNodeVO = new DeptRespNodeVO(); |
|
|
|
DeptRespNodeVO respNodeVO = new DeptRespNodeVO(); |
|
|
|
respNodeVO.setName("默认顶级部门"); |
|
|
|
respNodeVO.setName("默认顶级部门"); |
|
|
|
respNodeVO.setId("0"); |
|
|
|
respNodeVO.setId(0); |
|
|
|
/* respNodeVO.setSpread(true); |
|
|
|
/* respNodeVO.setSpread(true); |
|
|
|
respNodeVO.setDisabled(false);*/ |
|
|
|
respNodeVO.setDisabled(false);*/ |
|
|
|
respNodeVO.setChildren(getTree(list)); |
|
|
|
respNodeVO.setChildren(getTree(list)); |
|
|
|