From 53dea0ef5fc8b035397b73b10f7a819ebf381b1c Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期二, 09 七月 2024 09:39:11 +0800 Subject: [PATCH] 分页优化 --- 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