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

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.epidemic.EpidemicUserScoreDetail;
import yangtz.cs.liu.campus.domain.exam.ExamUserScoreDetail;
import yangtz.cs.liu.campus.mapper.epidemic.EpidemicUserScoreDetailMapper;
import yangtz.cs.liu.campus.mapper.exam.ExamUserScoreDetailMapper;
import yangtz.cs.liu.campus.service.epidemic.IEpidemicUserScoreDetaiService;
import yangtz.cs.liu.campus.service.exam.IExamUserScoreDetailService;

@Service
public class EpidemicUserScoreDetailServiceImpl extends ServiceImpl<EpidemicUserScoreDetailMapper, EpidemicUserScoreDetail> implements IEpidemicUserScoreDetaiService {

    @Autowired
    private EpidemicUserScoreDetailMapper epidemicUserScoreDetailMapper;


    /**
     * 修改考生答题记录
     *
     * @param epidemicUserScoreDetail
     * @return
     */
    @Override
    public int updateEpidemicUserScoreDetail(EpidemicUserScoreDetail epidemicUserScoreDetail) {
        return epidemicUserScoreDetailMapper.updateEpidemicUserScoreDetail(epidemicUserScoreDetail);
    }
}
