package com.ruoyi.project.system.roleRegion.service;
|
|
import java.util.List;
|
import com.ruoyi.project.system.roleRegion.domain.RoleRegion;
|
|
/**
|
* 角色和区域关联Service接口
|
*
|
* @author wm
|
* @date 2020-12-08
|
*/
|
public interface IRoleRegionService
|
{
|
/**
|
* 查询角色和区域关联
|
*
|
* @param roleId 角色和区域关联ID
|
* @return 角色和区域关联
|
*/
|
RoleRegion selectRoleRegionById(Long roleId);
|
|
/**
|
* 查询角色和区域关联列表
|
*
|
* @param roleRegion 角色和区域关联
|
* @return 角色和区域关联集合
|
*/
|
List<RoleRegion> selectRoleRegionList(RoleRegion roleRegion);
|
|
/**
|
* 新增角色和区域关联
|
*
|
* @param roleRegion 角色和区域关联
|
* @return 结果
|
*/
|
int insertRoleRegion(RoleRegion roleRegion);
|
|
/**
|
* 修改角色和区域关联
|
*
|
* @param roleRegion 角色和区域关联
|
* @return 结果
|
*/
|
int updateRoleRegion(RoleRegion roleRegion);
|
|
/**
|
* 批量删除角色和区域关联
|
*
|
* @param ids 需要删除的数据ID
|
* @return 结果
|
*/
|
int deleteRoleRegionByIds(String ids);
|
|
/**
|
* 删除角色和区域关联信息
|
*
|
* @param roleId 角色和区域关联ID
|
* @return 结果
|
*/
|
int deleteRoleRegionById(Long roleId);
|
}
|