From 6d05f0dc6e96ead24bb7e035e16f18031b1ede78 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期五, 17 五月 2024 11:35:26 +0800 Subject: [PATCH] feat:看题新增查询条件 --- src/main/java/com/mindskip/xzs/repository/ExamPaperQuestionCustomerAnswerMapper.java | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/mindskip/xzs/repository/ExamPaperQuestionCustomerAnswerMapper.java b/src/main/java/com/mindskip/xzs/repository/ExamPaperQuestionCustomerAnswerMapper.java index 112a7c3..6cf81c5 100644 --- a/src/main/java/com/mindskip/xzs/repository/ExamPaperQuestionCustomerAnswerMapper.java +++ b/src/main/java/com/mindskip/xzs/repository/ExamPaperQuestionCustomerAnswerMapper.java @@ -4,6 +4,7 @@ import com.mindskip.xzs.domain.other.ExamPaperAnswerUpdate; import com.mindskip.xzs.domain.other.KeyValue; import com.mindskip.xzs.viewmodel.student.question.answer.QuestionPageStudentRequestVM; +import com.mindskip.xzs.viewmodel.student.question.answer.QuestionPageStudentResponseVM; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; @@ -15,13 +16,13 @@ List<ExamPaperQuestionCustomerAnswer> selectListByPaperAnswerId(Integer id); - List<ExamPaperQuestionCustomerAnswer> studentPage(QuestionPageStudentRequestVM requestVM); + List<QuestionPageStudentResponseVM> studentPage(QuestionPageStudentRequestVM requestVM); int insertList(List<ExamPaperQuestionCustomerAnswer> list); - Integer selectAllCount(); + Integer selectAllCount(List<Integer> deptIds); - List<KeyValue> selectCountByDate(@Param("startTime") Date startTime, @Param("endTime") Date endTime); + List<KeyValue> selectCountByDate(@Param("startTime") Date startTime, @Param("endTime") Date endTime, @Param("deptIds") List<Integer> deptIds); int updateScore(List<ExamPaperAnswerUpdate> examPaperAnswerUpdates); } -- Gitblit v1.8.0