30 lines
617 B
Java
30 lines
617 B
Java
/**
|
|
* Copyright (c) 2016-2019 人人开源 All rights reserved.
|
|
*
|
|
* https://www.renren.io
|
|
*
|
|
* 版权所有,侵权必究!
|
|
*/
|
|
|
|
package com.peanut.modules.sys.dao;
|
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
import com.peanut.modules.sys.entity.SysRoleEntity;
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* 角色管理
|
|
*
|
|
* @author Mark sunlightcs@gmail.com
|
|
*/
|
|
@Mapper
|
|
public interface SysRoleDao extends BaseMapper<SysRoleEntity> {
|
|
|
|
/**
|
|
* 查询用户创建的角色ID列表
|
|
*/
|
|
List<Long> queryRoleIdList(Long createUserId);
|
|
}
|