1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package com.govmade.modules.system.service;
import java.util.Map;
import java.util.Set;
import com.baomidou.mybatisplus.service.IService;
import com.govmade.common.utils.PageUtils;
import com.govmade.modules.system.entity.RoleEntity;
/**
* 系统管理 - 角色设置
*
* @author 刘弈臻
* @date 2018年8月7日
*/
public interface RoleService extends IService<RoleEntity>{
/**
* 查看角色列表
*/
PageUtils queryPage(Map<String, Object> params);
/**
* 保存或修改角色
*/
void save(RoleEntity role);
/**
* 删除或批量删除角色
*/
void deleteBatch(Set<Long> ids);
/**
* 角色查重
*/
Integer checkRole(String name);
}