yxh
2026-11-08 89bb0237ead5fb632fcc14c2c52276496e19843f
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 用户角色列表