package yangtz.cs.liu.campus.mapper.epidemic;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import yangtz.cs.liu.campus.domain.epidemic.EpidemicUserScore;
import yangtz.cs.liu.campus.domain.exam.ExamUserScore;
import yangtz.cs.liu.campus.vo.epidemic.EpidemicUserScoreVo;
import yangtz.cs.liu.campus.vo.exam.ExamUserScoreVo;

import java.util.List;

@Mapper
public interface EpidemicUserScoreMapper extends BaseMapper<EpidemicUserScore> {
    List<EpidemicUserScoreVo> selectResult(EpidemicUserScoreVo epidemicUserScore);

    /**
     * 导出
     *
     * @param id
     * @return
     */
    EpidemicUserScoreVo exportById(Integer id);

    /**
     * 根据examid删除
     * @param examId
     * @return
     */


    /**
     * 修改考生成绩
     *
     * @param epidemicUserScore
     * @return
     */
    int updateEpidemicUserScore(EpidemicUserScore epidemicUserScore);
}
