package com.chushang.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.chushang.datascope.annotation.DataScope;
import com.chushang.system.entity.po.SysLoginInfo;
import com.chushang.system.entity.query.SysLoginInfoQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysLoginInfoMapper extends BaseMapper<SysLoginInfo> {

    @DataScope(deptAlias = "t")
    List<SysLoginInfo> pageList(@Param("query") SysLoginInfoQuery query,
                                   Page<SysLoginInfo> page);
}
