dingzhongyuan
2021-06-21 cf16e31632fa5c293c978d27e64dfec7b08e3335
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDeptController.java
@@ -56,7 +56,7 @@
        {
            SysDept d = (SysDept) it.next();
            if (d.getDeptId().intValue() == deptId
                    || ArrayUtils.contains(StrUtil.split(d.getAncestors(), ","), deptId + ""))
                    || ArrayUtils.contains(StrUtil.splitToArray(d.getAncestors(), ","), deptId + ""))
            {
                it.remove();
            }