package com.qmth.distributed.print.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qmth.distributed.print.business.bean.dto.BasicExamDto;
import com.qmth.teachcloud.common.entity.BasicExam;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 考试字典表 Mapper 接口
 * </p>
 */
public interface BasicExamMapper extends BaseMapper<BasicExam> {

    /**
     * 考试分页查询
     *
     * @param iPage    分页参数
     * @param schoolId 学校id
     * @return 分页结果
     */
    IPage<BasicExamDto> findBasicExamPage(@Param("objectPage") Page<Object> objectPage, @Param("schoolId") Long schoolId, @Param("semesterId") Long semesterId, @Param("enable") Boolean enable, @Param("o") Object o);
}
