|
@@ -110,10 +110,10 @@ public class SysDeptController extends BaseLogController{
|
|
vo.setChildren(deptService.getDeptList(user.getDeptId()));
|
|
vo.setChildren(deptService.getDeptList(user.getDeptId()));
|
|
if(user.getDeptId() != null){
|
|
if(user.getDeptId() != null){
|
|
DeptVo vot = new DeptVo();
|
|
DeptVo vot = new DeptVo();
|
|
-
|
|
|
|
Dept deptt = deptService.getById(1);
|
|
Dept deptt = deptService.getById(1);
|
|
BeanUtils.copyProperties(deptt,vot);
|
|
BeanUtils.copyProperties(deptt,vot);
|
|
- vot.setHasChildren(1);
|
|
|
|
|
|
+ vot.setHasChildren(0);
|
|
|
|
+ vot.setCanDel(0);
|
|
vot.setChildren(Arrays.asList(vo));
|
|
vot.setChildren(Arrays.asList(vo));
|
|
return ResultData.ok(Arrays.asList(vot));
|
|
return ResultData.ok(Arrays.asList(vot));
|
|
}
|
|
}
|