40 lines
764 B
Java
40 lines
764 B
Java
/**
|
|
* Copyright (c) 2016-2019 人人开源 All rights reserved.
|
|
*
|
|
* https://www.renren.io
|
|
*
|
|
* 版权所有,侵权必究!
|
|
*/
|
|
|
|
package com.peanut.modules.sys.service;
|
|
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
import com.peanut.common.utils.PageUtils;
|
|
import com.peanut.modules.sys.entity.SysRoleEntity;
|
|
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
|
|
/**
|
|
* 角色
|
|
*
|
|
* @author Mark sunlightcs@gmail.com
|
|
*/
|
|
public interface SysRoleService extends IService<SysRoleEntity> {
|
|
|
|
PageUtils queryPage(Map<String, Object> params);
|
|
|
|
void saveRole(SysRoleEntity role);
|
|
|
|
void update(SysRoleEntity role);
|
|
|
|
void deleteBatch(Long[] roleIds);
|
|
|
|
|
|
/**
|
|
* 查询用户创建的角色ID列表
|
|
*/
|
|
List<Long> queryRoleIdList(Long createUserId);
|
|
}
|