package com.sundot.airport.exam.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sundot.airport.exam.common.model.result.ExamCountResult;
import com.sundot.airport.exam.domain.ExamRec;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <b>功能名：ExamRecMapper</b><br>
 * <b>说明：</b> 考试记录表Mapper <br>
 * <b>著作权：</b> Copyright (C) 2021 HUIFANEDU  CORPORATION<br>
 * <b>修改履历：</b><br>
 *
 * @author 2021-06-25 Mokou
 */
@Mapper
public interface ExamRecMapper extends BaseMapper<ExamRec> {
    /**
     * <b>方法名: </b> getCountExamRec <br>
     * <b>说明: </b> 查询用户指定考试的已考试次数 <br>
     *
     * @param uid        String 用户ID
     * @param pcIds      List<String> 课程(考试)ID
     * @param clientType String 客户端类型
     * @return List<ExamCountResult>
     * <b>修改履历: </b>
     * @author 2021/6/25 Mokou
     */
    List<ExamCountResult> getCountExamRec(String uid, List<String> pcIds, String clientType);
}
