From b23f8cd1438c2b3c6f7e334502de619ffbb7fdc7 Mon Sep 17 00:00:00 2001 From: linzhijie <19970921lzj> Date: 星期三, 24 三月 2021 19:24:01 +0800 Subject: [PATCH] 报告邮件标题跟随语言变换 --- src/main/java/com/ots/project/exam/service/ExamPaperQuestionCustomerAnswerService.java | 24 ++++++++++++++++++++++-- 1 files changed, 22 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/ots/project/exam/service/ExamPaperQuestionCustomerAnswerService.java b/src/main/java/com/ots/project/exam/service/ExamPaperQuestionCustomerAnswerService.java index 5694e85..e11544c 100644 --- a/src/main/java/com/ots/project/exam/service/ExamPaperQuestionCustomerAnswerService.java +++ b/src/main/java/com/ots/project/exam/service/ExamPaperQuestionCustomerAnswerService.java @@ -1,18 +1,38 @@ package com.ots.project.exam.service; + import com.github.pagehelper.PageInfo; import com.ots.project.exam.domain.ExamPaperQuestionCustomerAnswer; import com.ots.project.exam.dto.ExamPaperAnswerUpdate; import com.ots.project.exam.viewmodel.ExamPaperSubmitItemVM; import com.ots.project.exam.viewmodel.QuestionPageStudentRequestVM; + import java.util.List; + public interface ExamPaperQuestionCustomerAnswerService extends BaseService<ExamPaperQuestionCustomerAnswer> { + PageInfo<ExamPaperQuestionCustomerAnswer> studentPage(QuestionPageStudentRequestVM requestVM); + List<ExamPaperQuestionCustomerAnswer> selectListByPaperAnswerId(Integer id); - + + /** + * 璇曞嵎鎻愪氦绛旀鍏ュ簱 + * + * @param examPaperQuestionCustomerAnswers List<ExamPaperQuestionCustomerAnswer> + */ void insertList(List<ExamPaperQuestionCustomerAnswer> examPaperQuestionCustomerAnswers); - + + /** + * 璇曞嵎闂绛旈淇℃伅杞垚ViewModel 浼犵粰鍓嶅彴 + * + * @param qa ExamPaperQuestionCustomerAnswer + * @return ExamPaperSubmitItemVM + */ ExamPaperSubmitItemVM examPaperQuestionCustomerAnswerToVM(ExamPaperQuestionCustomerAnswer qa); + + Integer selectAllCount(); + List<Integer> selectMothCount(); + int updateScore(List<ExamPaperAnswerUpdate> examPaperAnswerUpdates); } -- Gitblit v1.9.1