package yangtz.cs.liu.campus.service.impl.exam;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import yangtz.cs.liu.campus.domain.exam.ExamUserScoreDetail;
import yangtz.cs.liu.campus.mapper.exam.ExamUserScoreDetailMapper;
import yangtz.cs.liu.campus.service.exam.IExamUserScoreDetailService;

@Service
public class ExamUserScoreDetailServiceImpl extends ServiceImpl<ExamUserScoreDetailMapper, ExamUserScoreDetail> implements IExamUserScoreDetailService {

    @Autowired
    private ExamUserScoreDetailMapper examUserScoreDetailMapper;


    /**
     * 修改考生答题记录
     *
     * @param examUserScoreDetail
     * @return
     */
    @Override
    public int updateExamUserScoreDetail(ExamUserScoreDetail examUserScoreDetail) {
        return examUserScoreDetailMapper.updateExamUserScoreDetail(examUserScoreDetail);
    }
}
