io.github.wslxm.springbootplus2.manage.sys.mapper.SysRoleMapper Maven / Gradle / Ivy
The newest version!
package io.github.wslxm.springbootplus2.manage.sys.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import io.github.wslxm.springbootplus2.manage.sys.model.entity.SysRole;
import io.github.wslxm.springbootplus2.manage.sys.model.query.SysRoleQuery;
import io.github.wslxm.springbootplus2.manage.sys.model.vo.SysRoleVO;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* @author wangsong
*/
public interface SysRoleMapper extends BaseMapper {
/**
* 列表查询
*
* @param page page
* @param query 前端查询条件
* @param createUserId 当前登录人用户id/角色创建人Id,只查询指定创建人的角色
* @return java.util.List
* @version 1.0.0
*/
List list(@Param("page") IPage page,
@Param("query") SysRoleQuery query,
@Param("createUserId") String createUserId);
}