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

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

import java.util.List;

@Mapper
public interface ExamUserScoreMapper extends BaseMapper<ExamUserScore> {
    List<ExamUserScoreVo> selectResult( ExamUserScoreVo examUserScore);

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

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


    /**
     * 修改考生成绩
     *
     * @param examUserScore
     * @return
     */
    int updateExamUserScore(ExamUserScore examUserScore);
}
