package com.keao.edu.user.service;


import com.keao.edu.common.page.PageInfo;
import com.keao.edu.common.service.BaseService;
import com.keao.edu.user.dto.ExamCertificationDto;
import com.keao.edu.user.entity.ExamCertification;
import com.keao.edu.user.page.ExamCertificationQueryInfo;
import org.springframework.data.domain.Page;

public interface ExamCertificationService extends BaseService<Long, ExamCertification> {

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

    /**
     * 获取学员的准考证列表
     * @param queryInfo
     * @return
     */
    PageInfo<ExamCertificationDto> queryCertificationPage(ExamCertificationQueryInfo queryInfo);
}