package com.backendsys.modules.system.dao;

import com.backendsys.modules.system.entity.SysUserRoleRelation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysUserRoleRelationDao extends BaseMapper<SysUserRoleRelation> {

    List<Long> selectUserRoleIds(Long user_id);

    int insertBatch(Long user_id, List<Long> role_ids);

}
