You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
package com.dao ;
import java.util.List ;
import org.apache.ibatis.annotations.Param ;
import com.baomidou.mybatisplus.mapper.BaseMapper ;
import com.baomidou.mybatisplus.mapper.Wrapper ;
import com.baomidou.mybatisplus.plugins.pagination.Pagination ;
import com.entity.TokenEntity ;
/**
* token
* Token数据访问接口
* 用于管理用户认证令牌的数据库操作
*/
public interface TokenDao extends BaseMapper < TokenEntity > {
/**
* 查询Token列表
* 返回Token实体列表, 支持条件查询
* @param wrapper 查询条件包装器, 用于构建WHERE条件、排序等
* @return Token实体列表
*/
List < TokenEntity > selectListView ( @Param ( "ew" ) Wrapper < TokenEntity > wrapper ) ;
/**
* 分页查询Token列表
* 支持分页的Token查询, 用于管理系统中的令牌列表展示
* @param page 分页对象,包含当前页码、每页大小、总记录数等信息
* @param wrapper 查询条件包装器
* @return 分页后的Token实体列表
*/
List < TokenEntity > selectListView ( Pagination page , @Param ( "ew" ) Wrapper < TokenEntity > wrapper ) ;
}