| | |
| | | package com.mindskip.xzs.service; |
| | | |
| | | import com.mindskip.xzs.domain.ExamPaperAnswer; |
| | | import com.mindskip.xzs.domain.ExamPaperAnswerInfo; |
| | | import com.mindskip.xzs.domain.ExamTemplatesUserCount; |
| | | import com.mindskip.xzs.domain.User; |
| | | import com.mindskip.xzs.viewmodel.student.exam.ExamPaperSubmitVM; |
| | | import com.mindskip.xzs.viewmodel.student.exampaper.ExamPaperAnswerPageResponseVM; |
| | | import com.mindskip.xzs.viewmodel.student.exampaper.ExamPaperAnswerPageVM; |
| | | import com.github.pagehelper.PageInfo; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import com.mindskip.xzs.domain.*; |
| | | import com.mindskip.xzs.domain.vo.ExamPaperDataExportVO; |
| | | import com.mindskip.xzs.domain.vo.ExamPaperDataVO; |
| | | import com.mindskip.xzs.domain.vo.ExamPaperStatisticVO; |
| | | import com.mindskip.xzs.viewmodel.admin.paper.ExamPaperGradePageRequestVM; |
| | | import com.mindskip.xzs.viewmodel.admin.paper.ExamPaperGradeQuery; |
| | | import com.mindskip.xzs.viewmodel.student.exam.ExamPaperSubmitVM; |
| | | import com.mindskip.xzs.viewmodel.student.exampaper.ExamPaperAnswerPageVM; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | public interface ExamPaperAnswerService extends BaseService<ExamPaperAnswer> { |
| | | |
| | |
| | | ExamPaperSubmitVM examPaperAnswerToVM(Integer id); |
| | | |
| | | |
| | | Integer selectAllCount(); |
| | | Integer selectAllCount(List<Integer> deptIds); |
| | | |
| | | List<Integer> selectMothCount(); |
| | | |
| | |
| | | |
| | | List<ExamPaperAnswer> getByExamPaperIdAndUserId(List<ExamTemplatesUserCount> examTemplatesUserCount); |
| | | |
| | | PageInfo<ExamPaperAnswer> adminPageByGrade(ExamPaperGradePageRequestVM grade); |
| | | |
| | | List<ExamPaperAnswer> getByScorePaperIdAndUserId(List<ScoreTemplatesUserCount> scoreTemplatesUserCounts); |
| | | |
| | | PageInfo<ExamPaperAnswer> getByCreatUser(ExamPaperGradeQuery query); |
| | | |
| | | Map<String, Object> statistic(ExamPaperStatisticVO examPaperStatisticVO); |
| | | |
| | | Map<String, Object> data(ExamPaperDataVO examPaperDataVO); |
| | | |
| | | List<ExamPaperDataExportVO> dataExport(ExamPaperDataVO examPaperDataVO); |
| | | |
| | | /** |
| | | * 获取之前的成绩,取最优成绩 |
| | | * @param examPaperAnswer 本次答卷 |
| | | */ |
| | | void maxGrade(ExamPaperAnswer examPaperAnswer, Integer templateId); |
| | | } |