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

import com.baomidou.mybatisplus.extension.service.IService;
import com.qmth.distributed.print.business.bean.dto.report.ReportExamStudentDto;
import com.qmth.distributed.print.business.entity.TRBasicInfo;
import com.qmth.distributed.print.business.entity.TRExamStudent;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 报告考生表 服务类
 * </p>
 *
 * @author wangliang
 * @since 2024-02-18
 */
public interface TRExamStudentService extends IService<TRExamStudent> {

    /**
     * 获取考生详细报告
     *
     * @param trBasicInfo
     * @param paramsMap
     * @return
     */
    public List<ReportExamStudentDto> getExamStudentReportDetail(TRBasicInfo trBasicInfo, Map<String, Object> paramsMap);

    /**
     * 根据报告id删除数据
     *
     * @param rBasicInfoId
     * @return
     */
    public Boolean remove(Long rBasicInfoId);

    /**
     * 根据考试id/课程编码/试卷编码删除数据
     *
     * @param examId
     * @param courseCode
     * @param paperNumber
     * @param teachCourseId
     * @return
     */
    public Boolean remove(Long examId, String courseCode, String paperNumber, Long teachCourseId);
}
