From 5e873863bc7324894c89b0a0fc77a6202c91cd64 Mon Sep 17 00:00:00 2001 From: wzp <516075396@qq.com> Date: 星期二, 06 四月 2021 10:35:42 +0800 Subject: [PATCH] 20210406 --- src/main/java/com/ots/project/exam/service/ExamPaperAnswerService.java | 41 ++++------------------------------------- 1 files changed, 4 insertions(+), 37 deletions(-) diff --git a/src/main/java/com/ots/project/exam/service/ExamPaperAnswerService.java b/src/main/java/com/ots/project/exam/service/ExamPaperAnswerService.java index e011b72..d9b3365 100644 --- a/src/main/java/com/ots/project/exam/service/ExamPaperAnswerService.java +++ b/src/main/java/com/ots/project/exam/service/ExamPaperAnswerService.java @@ -1,53 +1,20 @@ package com.ots.project.exam.service; - - import com.github.pagehelper.PageInfo; import com.ots.project.exam.domain.ExamPaperAnswer; import com.ots.project.exam.domain.ExamUser; import com.ots.project.exam.dto.ExamPaperAnswerInfo; import com.ots.project.exam.viewmodel.ExamPaperAnswerPageVM; import com.ots.project.exam.viewmodel.ExamPaperSubmitVM; - import java.util.List; - public interface ExamPaperAnswerService extends BaseService<ExamPaperAnswer> { - - /** - * 瀛︾敓鑰冭瘯璁板綍鍒嗛〉 - * - * @param requestVM 杩囨护鏉′欢 - * @return PageInfo<ExamPaperAnswer> - */ + PageInfo<ExamPaperAnswer> studentPage(ExamPaperAnswerPageVM requestVM); - - /** - * 璁$畻璇曞嵎鎻愪氦缁撴灉(涓嶅叆搴�) - * - * @param examPaperSubmitVM - * @param user - * @return - */ + ExamPaperAnswerInfo calculateExamPaperAnswer(ExamPaperSubmitVM examPaperSubmitVM, ExamUser user); - - - /** - * 璇曞嵎鎵规敼 - * - * @param examPaperSubmitVM examPaperSubmitVM - * @return String - */ + String judge(ExamPaperSubmitVM examPaperSubmitVM); - - /** - * 璇曞嵎绛旈淇℃伅杞垚ViewModel 浼犵粰鍓嶅彴 - * - * @param id 璇曞嵎id - * @return ExamPaperSubmitVM - */ + ExamPaperSubmitVM examPaperAnswerToVM(Integer id); - - Integer selectAllCount(); - List<Integer> selectMothCount(); } -- Gitblit v1.9.1