lyhzzz 2 年之前
父节点
当前提交
5610c814fd
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/cdf/controller/back/SysDeptController.java

+ 1 - 1
src/main/java/com/cdf/controller/back/SysDeptController.java

@@ -108,7 +108,7 @@ public class SysDeptController extends BaseLogController{
         DeptVo vo = new DeptVo();
         BeanUtils.copyProperties(dept,vo);
         vo.setChildren(deptService.getDeptList(user.getDeptId()));
-        if(user.getDeptId() != null){
+        if(user.getDeptId() != null && ( user.getDeptId() == 22 || user.getDeptId() == 33)){
             DeptVo vot = new DeptVo();
             Dept deptt = deptService.getById(1);
             BeanUtils.copyProperties(deptt,vot);