|
@@ -24,67 +24,80 @@ import java.util.Date;
|
|
|
@Index(name = "IDX_E_O_E_R_D_005", columnList = "courseId"),
|
|
|
@Index(name = "IDX_E_O_E_R_D_006", columnList = "examRecordStatus"),
|
|
|
@Index(name = "IDX_E_O_E_R_D_007", columnList = "basePaperId"),
|
|
|
-
|
|
|
+
|
|
|
})
|
|
|
@DynamicInsert
|
|
|
public class ExamRecordDataEntity extends JpaEntity {
|
|
|
+
|
|
|
/**
|
|
|
*
|
|
|
*/
|
|
|
private static final long serialVersionUID = -242327915801750970L;
|
|
|
+
|
|
|
/**
|
|
|
* 主键
|
|
|
*/
|
|
|
@Id
|
|
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
|
|
private Long id;
|
|
|
+
|
|
|
/**
|
|
|
* 考试ID
|
|
|
*/
|
|
|
private Long examId;
|
|
|
+
|
|
|
/**
|
|
|
* 考试类型
|
|
|
*/
|
|
|
@Column(length = 20)
|
|
|
@Enumerated(EnumType.STRING)
|
|
|
private ExamType examType;
|
|
|
+
|
|
|
/**
|
|
|
* 考生ID
|
|
|
*/
|
|
|
private Long examStudentId;
|
|
|
+
|
|
|
/**
|
|
|
* 学生ID
|
|
|
*/
|
|
|
private Long studentId;
|
|
|
+
|
|
|
/**
|
|
|
* 学号
|
|
|
*/
|
|
|
@Column(length = 50)
|
|
|
private String studentCode;
|
|
|
+
|
|
|
/**
|
|
|
* 学生姓名
|
|
|
*/
|
|
|
@Column(length = 20)
|
|
|
private String studentName;
|
|
|
+
|
|
|
/**
|
|
|
* 身份证号
|
|
|
*/
|
|
|
@Column(length = 20)
|
|
|
private String identityNumber;
|
|
|
+
|
|
|
/**
|
|
|
* 课程ID
|
|
|
*/
|
|
|
private Long courseId;
|
|
|
|
|
|
private String courseLevel;
|
|
|
+
|
|
|
/**
|
|
|
* 学习中心ID
|
|
|
*/
|
|
|
private Long orgId;
|
|
|
+
|
|
|
/**
|
|
|
* 顶级机构ID
|
|
|
*/
|
|
|
private Long rootOrgId;
|
|
|
+
|
|
|
/**
|
|
|
* 基础试卷ID
|
|
|
*/
|
|
@@ -94,10 +107,12 @@ public class ExamRecordDataEntity extends JpaEntity {
|
|
|
* 试卷类型
|
|
|
*/
|
|
|
private String paperType;
|
|
|
+
|
|
|
/**
|
|
|
* 试卷结构 ID
|
|
|
*/
|
|
|
private String paperStructId;
|
|
|
+
|
|
|
/**
|
|
|
* 采集人
|
|
|
*/
|
|
@@ -108,31 +123,38 @@ public class ExamRecordDataEntity extends JpaEntity {
|
|
|
* 考试作答记录id
|
|
|
*/
|
|
|
private String examRecordQuestionsId;
|
|
|
+
|
|
|
/**
|
|
|
* 考试记录状态(考试中,考试结束,考试过期,考试作废)
|
|
|
*/
|
|
|
@Enumerated(EnumType.STRING)
|
|
|
private ExamRecordStatus examRecordStatus;
|
|
|
+
|
|
|
/**
|
|
|
* 考试开始时间(即开始答题时间)
|
|
|
*/
|
|
|
private Date startTime;
|
|
|
+
|
|
|
/**
|
|
|
* 考试结束时间
|
|
|
*/
|
|
|
private Date endTime;
|
|
|
+
|
|
|
/**
|
|
|
* 考试被清理时间
|
|
|
*/
|
|
|
private Date cleanTime;
|
|
|
+
|
|
|
/**
|
|
|
* 是否异常数据
|
|
|
*/
|
|
|
private Boolean isWarn;
|
|
|
+
|
|
|
/**
|
|
|
* 是否被审核过
|
|
|
*/
|
|
|
private Boolean isAudit;
|
|
|
+
|
|
|
/**
|
|
|
* 是否违纪
|
|
|
*/
|
|
@@ -143,52 +165,64 @@ public class ExamRecordDataEntity extends JpaEntity {
|
|
|
* 考试时长
|
|
|
*/
|
|
|
private Long usedExamTime;
|
|
|
+
|
|
|
/**
|
|
|
* 第几次考试
|
|
|
*/
|
|
|
private Integer examOrder;
|
|
|
+
|
|
|
/**
|
|
|
* 是否为重考
|
|
|
*/
|
|
|
@Column(name = "is_reexamine")
|
|
|
private Boolean isReexamine;
|
|
|
+
|
|
|
/**
|
|
|
* 是否断点续考
|
|
|
*/
|
|
|
@Column(name = "is_continued")
|
|
|
private Boolean isContinued;
|
|
|
+
|
|
|
/**
|
|
|
* 是否是全客观题卷 1:是 0:否
|
|
|
*/
|
|
|
private Boolean isAllObjectivePaper;
|
|
|
+
|
|
|
/**
|
|
|
* 断点续考次数
|
|
|
*/
|
|
|
private Integer continuedCount;
|
|
|
+
|
|
|
/**
|
|
|
* 是否达到最大断点限制
|
|
|
*/
|
|
|
private Boolean isExceed;
|
|
|
+
|
|
|
/**
|
|
|
* 抓拍比对成功次数
|
|
|
*/
|
|
|
private Integer faceSuccessCount;
|
|
|
+
|
|
|
/**
|
|
|
* 抓拍比对失败次数
|
|
|
*/
|
|
|
private Integer faceFailedCount;
|
|
|
+
|
|
|
/**
|
|
|
* 抓拍存在陌生人的次数
|
|
|
*/
|
|
|
private Integer faceStrangerCount;
|
|
|
+
|
|
|
/**
|
|
|
* 抓拍比对总次数
|
|
|
*/
|
|
|
private Integer faceTotalCount;
|
|
|
+
|
|
|
/**
|
|
|
* 抓拍比对成功比率
|
|
|
*/
|
|
|
private Double faceSuccessPercent;
|
|
|
+
|
|
|
/**
|
|
|
* @see cn.com.qmth.examcloud.core.oe.admin.dao.enums.IsSuccess
|
|
|
* 活体检测结果
|
|
@@ -201,6 +235,7 @@ public class ExamRecordDataEntity extends JpaEntity {
|
|
|
* 百度人脸活体检测通过率
|
|
|
*/
|
|
|
private Double baiduFaceLivenessSuccessPercent;
|
|
|
+
|
|
|
/**
|
|
|
* 人脸五官坐标比对值
|
|
|
*/
|
|
@@ -248,6 +283,18 @@ public class ExamRecordDataEntity extends JpaEntity {
|
|
|
*/
|
|
|
private Integer switchScreenCount;
|
|
|
|
|
|
+ /**
|
|
|
+ * 是否采用千人千卷规则(默认:false 为正常调卷规则)
|
|
|
+ */
|
|
|
+ @Column(columnDefinition = "bit(1) not null default 0")
|
|
|
+ private Boolean randomPaper;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 试卷总分
|
|
|
+ */
|
|
|
+ @Column(columnDefinition = "double not null default 0")
|
|
|
+ private Double paperScore;
|
|
|
+
|
|
|
/**
|
|
|
* ip(忽略该字段持久化)
|
|
|
*/
|
|
@@ -657,4 +704,21 @@ public class ExamRecordDataEntity extends JpaEntity {
|
|
|
public void setAuditUserName(String auditUserName) {
|
|
|
this.auditUserName = auditUserName;
|
|
|
}
|
|
|
+
|
|
|
+ public Boolean getRandomPaper() {
|
|
|
+ return randomPaper;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setRandomPaper(Boolean randomPaper) {
|
|
|
+ this.randomPaper = randomPaper;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Double getPaperScore() {
|
|
|
+ return paperScore;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setPaperScore(Double paperScore) {
|
|
|
+ this.paperScore = paperScore;
|
|
|
+ }
|
|
|
+
|
|
|
}
|