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 用户角色列表