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/YonghuDao.java

36 lines
1.2 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.YonghuEntity;
// 导入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.YonghuView;
//用户 Dao 接口
//定义用户数据访问层操作方法
// @author // 作者信息(未填写)
public interface YonghuDao extends BaseMapper<YonghuEntity> {
//分页查询用户列表视图
//@param page 分页参数对象,包含当前页、每页数量等信息
// @param params 查询条件参数Map集合
//@return 返回用户视图对象列表
List<YonghuView> selectListView(Pagination page,@Param("params")Map<String,Object> params);
}