RoleService.java 731 Bytes
Newer Older
刘弈臻's avatar
刘弈臻 committed
1 2 3
package com.govmade.modules.system.service;

import java.util.Map;
刘弈臻's avatar
刘弈臻 committed
4
import java.util.Set;
刘弈臻's avatar
刘弈臻 committed
5

Fred's avatar
Fred committed
6
import com.baomidou.mybatisplus.extension.service.IService;
刘弈臻's avatar
刘弈臻 committed
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
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);
	
	/**
刘弈臻's avatar
刘弈臻 committed
30
	 * 删除或批量删除角色
刘弈臻's avatar
刘弈臻 committed
31
	 */
刘弈臻's avatar
刘弈臻 committed
32
	void deleteBatch(Set<Long> ids);
刘弈臻's avatar
刘弈臻 committed
33 34 35 36 37 38
	
	/**
	 * 角色查重
	 */
	Integer checkRole(String name);
}