package com.keao.edu.user.dao;

import com.keao.edu.common.dal.BaseDAO;
import com.keao.edu.user.entity.ExamCertification;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ExamCertificationDao extends BaseDAO<Long, ExamCertification> {

    int batchInsert(@Param("ecs")List<ExamCertification> ecs);


    /**
     * 获取学员准考证
     * @param studentId
     * @param basicId
     * @return
     */
    ExamCertification findByStuAndBasicId(@Param("studentId") Integer studentId, @Param("basicId") Integer basicId);
}
