智慧保安后台管理-外网项目备份
钟日健
2026-06-01 62eb499b0c969f246d3245d1429a97da4de1ce28
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
 
package org.springblade.modules.simulateexam.service;
 
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springblade.modules.simulateexam.entity.SimulateExamRecord;
import org.springblade.modules.simulateexam.vo.SimulateExamRecordVO;
import org.springblade.modules.simulateexam.vo.SimulateExamScoreVO;
 
/**
 *  模拟考试记录服务类
 *
 * @author zhongrj
 * @since 2022-02-23
 */
public interface SimulateExamRecordService extends IService<SimulateExamRecord> {
 
    /**
     * 自定义分页
     *
     * @param page
     * @param simulateExamRecordVO
     * @return
     */
    IPage<SimulateExamRecordVO> selectSimulateExamRecordPage(IPage<SimulateExamRecordVO> page, SimulateExamRecordVO simulateExamRecordVO);
 
    /**
     * 首次点击开始考试,创建模拟考试
     * @param simulateExamRecord 模拟考试记录对象信息
     * @return
     */
    Object insertSimulateExamRecord(SimulateExamRecord simulateExamRecord);
 
    /**
     * 暂停模拟考试
     * @param simulateExamRecord
     * @return
     */
    Object pauseExam(SimulateExamRecord simulateExamRecord);
 
    /**
     * 模拟考试开始页面,查询是否有暂停中的模拟考试
     * @param simulateExamRecord 模拟考试记录对象信息
     * @return
     */
    Object getSimulateExamRecordInfo(SimulateExamRecord simulateExamRecord);
 
    /**
     * 考试暂停后继续,1查询所有的答题信息,2查询所有的已答信息  3其他信息
     * @param simulateExamRecord 必须包含 模拟考试id, type 1: 继续考试  2: 放弃之前的考试,重新生成题目考试
     * @return
     */
    Object getSimulateExamRefreshInfo(SimulateExamRecordVO simulateExamRecord);
 
    /**
     * 提交考试
     *
     * @param simulateExamScore 模拟考试成绩信息对象
     * @return
     */
    Object saveSimulateExam(SimulateExamScoreVO simulateExamScore);
}