lyhzzz 2 năm trước cách đây
mục cha
commit
5610c814fd

+ 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);