package com.hhh.cloud.framework.demo.clazz.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hhh.cloud.framework.demo.clazz.entity.ClazzStudent;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 3hhjs
 * @since 2021-05-19
 */
public interface ClazzStudentMapper extends BaseMapper<ClazzStudent> {

    /**
     * 分页查询
     * @param objectPage 分页信息
     * @param student 查询条件
     * @return Page<ClazzStudent>
     */
    public Page<ClazzStudent> selectPageStudent(Page<Object> objectPage, @Param("map") ClazzStudent student);
}
