package com.doumee.biz.system;
|
|
import com.doumee.dao.system.dto.CreateRoleMenuDTO;
|
import com.doumee.dao.system.dto.CreateRolePermissionDTO;
|
import com.doumee.dao.system.model.SystemDataPermission;
|
import com.doumee.dao.system.model.SystemRole;
|
|
import java.util.List;
|
|
/**
|
* 角色权限业务处理
|
* @author Eva.Caesar Liu
|
* @date 2023/03/21 14:49
|
*/
|
public interface SystemRoleBiz {
|
|
/**
|
* 新建
|
* @author Eva.Caesar Liu
|
* @date 2023/03/21 14:49
|
*/
|
Integer create (SystemRole systemRole);
|
|
/**
|
* 修改
|
* @author Eva.Caesar Liu
|
* @date 2023/03/21 14:49
|
*/
|
void updateById(SystemRole systemRole);
|
|
/**
|
* 删除
|
* @author Eva.Caesar Liu
|
* @date 2023/03/21 14:49
|
*/
|
void deleteById(Integer id);
|
|
/**
|
* 批量删除
|
* @author Eva.Caesar Liu
|
* @date 2023/03/21 14:49
|
*/
|
void deleteByIdInBatch(List<Integer> ids);
|
|
/**
|
* 创建角色权限
|
* @author Eva.Caesar Liu
|
* @date 2023/03/21 14:49
|
*/
|
void createRolePermission(CreateRolePermissionDTO dto);
|
|
/**
|
* 创建角色菜单
|
* @author Eva.Caesar Liu
|
* @date 2023/03/21 14:49
|
*/
|
void createRoleMenu(CreateRoleMenuDTO dto);
|
|
void createRoleDataPermission(SystemDataPermission dto);
|
}
|