src/main/java/com/ruoyi/common/utils/SecurityUtils.java
@@ -38,11 +38,11 @@ /** * 获取部门ID **/ public static Long getDeptId() public static Long [] getDeptId() { try { return getLoginUser().getDeptId(); return getLoginUser().getDeptIds(); } catch (Exception e) {