yxh
2026-11-04 ef1e28d6179be02e69d460fb3f59edda7a7e4b1d
ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysUserRoleMapper.java
@@ -38,6 +38,14 @@
    public int countUserRoleByRoleId(Long roleId);
    /**
     * 通过userId获取用户角色ID
     *
     * @param userId
     * @return
     */
    public List<Integer> getUserRoleByUserId(Long userId);
    /**
     * 批量新增用户角色信息
     *
     * @param userRoleList 用户角色列表