gongchunyi
2026-05-15 5e472fb66090f87de04f1aa102996e5ed2f9f40a
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)
        {