2026-04-23 a1b154bfd4c5e138d964e1bfdc5a2bcac1e25488
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)
        {