From 93af1c6ffb9ae0e894689ad3a37b548e57d54cff Mon Sep 17 00:00:00 2001 From: linzhijie <19970921lzj> Date: 星期四, 11 三月 2021 19:10:07 +0800 Subject: [PATCH] 有注释的测评系统业务代码 --- src/main/java/com/ots/project/exam/mapper/ExamPaperQuestionCustomerAnswerMapper.java | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/ots/project/exam/mapper/ExamPaperQuestionCustomerAnswerMapper.java b/src/main/java/com/ots/project/exam/mapper/ExamPaperQuestionCustomerAnswerMapper.java index c8cc1c9..f5a0c6e 100644 --- a/src/main/java/com/ots/project/exam/mapper/ExamPaperQuestionCustomerAnswerMapper.java +++ b/src/main/java/com/ots/project/exam/mapper/ExamPaperQuestionCustomerAnswerMapper.java @@ -1,24 +1,39 @@ package com.ots.project.exam.mapper; + + import com.ots.project.exam.domain.ExamPaperQuestionCustomerAnswer; import com.ots.project.exam.dto.ExamPaperAnswerUpdate; import com.ots.project.exam.dto.KeyValue; import com.ots.project.exam.viewmodel.QuestionPageStudentRequestVM; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; + import java.util.Date; import java.util.List; + @Mapper public interface ExamPaperQuestionCustomerAnswerMapper extends BaseMapper<ExamPaperQuestionCustomerAnswer> { int deleteByPrimaryKey(Integer id); + int insert(ExamPaperQuestionCustomerAnswer record); + int insertSelective(ExamPaperQuestionCustomerAnswer record); + ExamPaperQuestionCustomerAnswer selectByPrimaryKey(Integer id); + int updateByPrimaryKeySelective(ExamPaperQuestionCustomerAnswer record); + int updateByPrimaryKey(ExamPaperQuestionCustomerAnswer record); + List<ExamPaperQuestionCustomerAnswer> selectListByPaperAnswerId(Integer id); + List<ExamPaperQuestionCustomerAnswer> studentPage(QuestionPageStudentRequestVM requestVM); + int insertList(List<ExamPaperQuestionCustomerAnswer> list); + Integer selectAllCount(); + List<KeyValue> selectCountByDate(@Param("startTime") Date startTime, @Param("endTime") Date endTime); + int updateScore(List<ExamPaperAnswerUpdate> examPaperAnswerUpdates); } -- Gitblit v1.9.1