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.result.analyze.GradeBatchResult;
import com.qmth.distributed.print.business.entity.GradeBatch;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 分析-批次表 Mapper 接口
 * </p>
 *
 * @author wangliang
 * @since 2022-05-20
 */
public interface GradeBatchMapper extends BaseMapper<GradeBatch> {
    /**
     * 模糊查询批次分页列表
     *
     * @param iPage     分页参数
     * @param batchName 批次名称
     * @param schoolId  学校id
     * @return 分页结果
     */
    IPage<GradeBatchResult> findGradeBatchPage(@Param("iPage") Page<GradeBatchResult> iPage, @Param("batchName") String batchName, @Param("schoolId") Long schoolId);
}
