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.
gym/SingleSeachDao.java

35 lines
1.3 KiB

This file contains ambiguous Unicode characters!

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.

// 声明当前文件所属的包路径表示该接口位于com.dao包下
package com.dao;
// 导入单页数据实体类,用于数据库表映射
import com.entity.SingleSeachEntity;
// 导入MyBatis Plus的基础Mapper接口提供基本CRUD操作
import com.baomidou.mybatisplus.mapper.BaseMapper;
// 导入Java的List集合类用于存储查询结果列表
import java.util.List;
// 导入Java的Map集合类用于存储键值对形式的查询参数
import java.util.Map;
// 导入MyBatis Plus的分页插件类用于实现分页查询
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
// 导入MyBatis的参数注解用于标识方法参数
import org.apache.ibatis.annotations.Param;
// 导入单页数据视图实体类,用于展示层数据
import com.entity.view.SingleSeachView;
//单页数据 Dao 接口
//定义数据库访问层操作方法
//@author // 作者信息(未填写)
public interface SingleSeachDao extends BaseMapper<SingleSeachEntity> {
//分页查询单页数据列表视图
// @param page 分页参数对象,包含当前页、每页数量等信息
//@param params 查询条件参数Map集合
//@return 返回单页数据视图对象列表
List<SingleSeachView> selectListView(Pagination page,@Param("params")Map<String,Object> params);
}