package com.hmit.kernes.service; import java.util.List; import java.util.Map; import com.hmit.kernes.entity.SysRoleEntity; /** * 角色 * * @author kernespring * @email kernespring@gmail.com * @date 2016年9月18日 上午9:42:52 */ public interface SysRoleService { SysRoleEntity queryObject(Long roleId); List<SysRoleEntity> queryList(Map<String, Object> map); int queryTotal(Map<String, Object> map); void save(SysRoleEntity role); void update(SysRoleEntity role); void deleteBatch(Long[] roleIds); /** * 查询用户创建的角色ID列表 */ List<Long> queryRoleIdList(Long createUserId); }