package com.hs.api.mapper;

import com.hs.api.model.SysRole;
import com.hs.api.model.SysUserRoleRs;

import java.util.List;

public interface SysUserRoleRsMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysUserRoleRs record);

    SysUserRoleRs selectByPrimaryKey(Long id);

    List<SysUserRoleRs> selectAll();

    int updateByPrimaryKey(SysUserRoleRs record);

    List<SysRole> selectRoleByUser(Long userId);
}