Procházet zdrojové kódy

Deprecated db tables

deason před 7 měsíci
rodič
revize
d63bcc2c10

+ 44 - 44
examcloud-core-oe-admin-dao/src/main/java/cn/com/qmth/examcloud/core/oe/admin/dao/ExamFileAnswerTempRepo.java

@@ -1,44 +1,44 @@
-package cn.com.qmth.examcloud.core.oe.admin.dao;
-
-import java.util.Date;
-import java.util.List;
-
-import org.springframework.data.jpa.repository.JpaRepository;
-import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
-import org.springframework.data.jpa.repository.Modifying;
-import org.springframework.data.jpa.repository.Query;
-import org.springframework.stereotype.Repository;
-import org.springframework.transaction.annotation.Transactional;
-
-import cn.com.qmth.examcloud.core.oe.admin.dao.entity.ExamFileAnswerTempEntity;
-import cn.com.qmth.examcloud.core.oe.admin.dao.enums.FileAnswerAcknowledgeStatus;
-
-@Repository
-public interface ExamFileAnswerTempRepo
-		extends JpaRepository<ExamFileAnswerTempEntity, Long>, JpaSpecificationExecutor<ExamFileAnswerTempEntity> {
-	public ExamFileAnswerTempEntity findByExamRecordDataIdAndQuestionOrderAndFilePath(Long examRecordDataId,
-																					  Integer questionOrder, String filePath);
-
-	/**
-	 * 根据考试记录id和状态获取最新的文件上传地址集合
-	 * 
-	 * @param examRecordDataId
-	 * @param status
-	 * @return
-	 */
-	@Query(value="select *" +
-			" from ec_oe_exam_file_answer_temp" +
-			" where exam_record_data_id= ?1 and status= 'CONFIRMED'",nativeQuery = true)
-	public List<ExamFileAnswerTempEntity> findByExamRecordDataIdAndStatus(Long examRecordDataId, FileAnswerAcknowledgeStatus status);
-	@Modifying
-	@Query(nativeQuery = true, value = "delete from ec_oe_exam_file_answer_temp where exam_record_data_id = ?1 and exam_student_id = ?2 and question_order = ?3 and file_path=?4")
-	public void delete(Long examRecordDataId, Long examStudentId, Integer questionOrder, String filePath);
-
-	@Query(value="select * from ec_oe_exam_file_answer_temp order by id limit 100 ",nativeQuery = true)
-	List<ExamFileAnswerTempEntity> findLimitTempFileAnswers(int limit);
-
-	@Transactional
-	@Modifying
-	@Query(nativeQuery = true, value = "delete from ec_oe_exam_file_answer_temp where creation_time <= ?1")
-	int deleteByCreationTime(Date creationTime);
-}
+// package cn.com.qmth.examcloud.core.oe.admin.dao;
+//
+// import java.util.Date;
+// import java.util.List;
+//
+// import org.springframework.data.jpa.repository.JpaRepository;
+// import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+// import org.springframework.data.jpa.repository.Modifying;
+// import org.springframework.data.jpa.repository.Query;
+// import org.springframework.stereotype.Repository;
+// import org.springframework.transaction.annotation.Transactional;
+//
+// import cn.com.qmth.examcloud.core.oe.admin.dao.entity.ExamFileAnswerTempEntity;
+// import cn.com.qmth.examcloud.core.oe.admin.dao.enums.FileAnswerAcknowledgeStatus;
+//
+// @Repository
+// public interface ExamFileAnswerTempRepo
+// 		extends JpaRepository<ExamFileAnswerTempEntity, Long>, JpaSpecificationExecutor<ExamFileAnswerTempEntity> {
+// 	public ExamFileAnswerTempEntity findByExamRecordDataIdAndQuestionOrderAndFilePath(Long examRecordDataId,
+// 																					  Integer questionOrder, String filePath);
+//
+// 	/**
+// 	 * 根据考试记录id和状态获取最新的文件上传地址集合
+// 	 *
+// 	 * @param examRecordDataId
+// 	 * @param status
+// 	 * @return
+// 	 */
+// 	@Query(value="select *" +
+// 			" from ec_oe_exam_file_answer_temp" +
+// 			" where exam_record_data_id= ?1 and status= 'CONFIRMED'",nativeQuery = true)
+// 	public List<ExamFileAnswerTempEntity> findByExamRecordDataIdAndStatus(Long examRecordDataId, FileAnswerAcknowledgeStatus status);
+// 	@Modifying
+// 	@Query(nativeQuery = true, value = "delete from ec_oe_exam_file_answer_temp where exam_record_data_id = ?1 and exam_student_id = ?2 and question_order = ?3 and file_path=?4")
+// 	public void delete(Long examRecordDataId, Long examStudentId, Integer questionOrder, String filePath);
+//
+// 	@Query(value="select * from ec_oe_exam_file_answer_temp order by id limit 100 ",nativeQuery = true)
+// 	List<ExamFileAnswerTempEntity> findLimitTempFileAnswers(int limit);
+//
+// 	@Transactional
+// 	@Modifying
+// 	@Query(nativeQuery = true, value = "delete from ec_oe_exam_file_answer_temp where creation_time <= ?1")
+// 	int deleteByCreationTime(Date creationTime);
+// }

+ 38 - 38
examcloud-core-oe-admin-dao/src/main/java/cn/com/qmth/examcloud/core/oe/admin/dao/ExamingRecordRepo.java

@@ -1,38 +1,38 @@
-package cn.com.qmth.examcloud.core.oe.admin.dao;
-
-
-import org.springframework.data.jpa.repository.JpaRepository;
-import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
-import org.springframework.data.jpa.repository.Query;
-import org.springframework.stereotype.Repository;
-
-import cn.com.qmth.examcloud.core.oe.admin.dao.entity.ExamingRecordEntity;
-
-import java.util.List;
-
-/**
- * @Description 正在进行中的考试
- * @Author lideyin
- * @Date 2019/8/26 10:36
- * @Version 1.0
- */
-@Repository
-public interface ExamingRecordRepo extends JpaRepository<ExamingRecordEntity, Long>, JpaSpecificationExecutor<ExamingRecordEntity> {
-	/**
-	 * 查找指定数量的考试中的记录
-	 * @param startId
-	 * @param limit
-	 * @return
-	 */
-	@Query(value = "select * from ec_oe_examing_record where id>= ?1 order by id asc limit ?2",nativeQuery = true)
-	List<ExamingRecordEntity> getLimitExamingRecords(Long startId, int limit);
-
-	/**
-	 * 根据studentId查询状态为"考试中"的在线考试记录
-	 * @param studentId
-	 * @return
-	 */
-	@Query(value= "select * from ec_oe_examing_record where student_id=?1 and exam_type<>'OFFLINE'", nativeQuery = true)
-	ExamingRecordEntity findOnlineExamingRecord(Long studentId);
-
-}
+// package cn.com.qmth.examcloud.core.oe.admin.dao;
+//
+//
+// import org.springframework.data.jpa.repository.JpaRepository;
+// import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+// import org.springframework.data.jpa.repository.Query;
+// import org.springframework.stereotype.Repository;
+//
+// import cn.com.qmth.examcloud.core.oe.admin.dao.entity.ExamingRecordEntity;
+//
+// import java.util.List;
+//
+// /**
+//  * @Description 正在进行中的考试
+//  * @Author lideyin
+//  * @Date 2019/8/26 10:36
+//  * @Version 1.0
+//  */
+// @Repository
+// public interface ExamingRecordRepo extends JpaRepository<ExamingRecordEntity, Long>, JpaSpecificationExecutor<ExamingRecordEntity> {
+// 	/**
+// 	 * 查找指定数量的考试中的记录
+// 	 * @param startId
+// 	 * @param limit
+// 	 * @return
+// 	 */
+// 	@Query(value = "select * from ec_oe_examing_record where id>= ?1 order by id asc limit ?2",nativeQuery = true)
+// 	List<ExamingRecordEntity> getLimitExamingRecords(Long startId, int limit);
+//
+// 	/**
+// 	 * 根据studentId查询状态为"考试中"的在线考试记录
+// 	 * @param studentId
+// 	 * @return
+// 	 */
+// 	@Query(value= "select * from ec_oe_examing_record where student_id=?1 and exam_type<>'OFFLINE'", nativeQuery = true)
+// 	ExamingRecordEntity findOnlineExamingRecord(Long studentId);
+//
+// }

+ 26 - 26
examcloud-core-oe-admin-dao/src/main/java/cn/com/qmth/examcloud/core/oe/admin/dao/HandInExamRecordRepo.java

@@ -1,26 +1,26 @@
-package cn.com.qmth.examcloud.core.oe.admin.dao;
-
-
-import org.springframework.data.jpa.repository.JpaRepository;
-import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
-import org.springframework.data.jpa.repository.Query;
-import org.springframework.stereotype.Repository;
-
-import cn.com.qmth.examcloud.core.oe.admin.dao.entity.HandInExamRecordEntity;
-
-import java.util.List;
-
-/**
- * 已交卷的考试记录仓库
- */
-@Repository
-public interface HandInExamRecordRepo extends JpaRepository<HandInExamRecordEntity, Long>, JpaSpecificationExecutor<HandInExamRecordEntity> {
-	/**
-	 * 查找指定数量已交卷的考试记录
-	 * @param startId
-	 * @param limit
-	 * @return
-	 */
-	@Query(value = "select * from ec_oe_hand_in_exam_record where id>= ?1 order by id asc limit ?2",nativeQuery = true)
-	List<HandInExamRecordEntity> getLimitHandInExamRecords(Long startId, int limit);
-}
+// package cn.com.qmth.examcloud.core.oe.admin.dao;
+//
+//
+// import org.springframework.data.jpa.repository.JpaRepository;
+// import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+// import org.springframework.data.jpa.repository.Query;
+// import org.springframework.stereotype.Repository;
+//
+// import cn.com.qmth.examcloud.core.oe.admin.dao.entity.HandInExamRecordEntity;
+//
+// import java.util.List;
+//
+// /**
+//  * 已交卷的考试记录仓库
+//  */
+// @Repository
+// public interface HandInExamRecordRepo extends JpaRepository<HandInExamRecordEntity, Long>, JpaSpecificationExecutor<HandInExamRecordEntity> {
+// 	/**
+// 	 * 查找指定数量已交卷的考试记录
+// 	 * @param startId
+// 	 * @param limit
+// 	 * @return
+// 	 */
+// 	@Query(value = "select * from ec_oe_hand_in_exam_record where id>= ?1 order by id asc limit ?2",nativeQuery = true)
+// 	List<HandInExamRecordEntity> getLimitHandInExamRecords(Long startId, int limit);
+// }

+ 100 - 100
examcloud-core-oe-admin-dao/src/main/java/cn/com/qmth/examcloud/core/oe/admin/dao/entity/ExamFileAnswerTempEntity.java

@@ -1,100 +1,100 @@
-package cn.com.qmth.examcloud.core.oe.admin.dao.entity;
-
-import javax.persistence.Column;
-import javax.persistence.Entity;
-import javax.persistence.EnumType;
-import javax.persistence.Enumerated;
-import javax.persistence.GeneratedValue;
-import javax.persistence.GenerationType;
-import javax.persistence.Id;
-import javax.persistence.Index;
-import javax.persistence.Table;
-
-import cn.com.qmth.examcloud.core.oe.admin.dao.enums.FileAnswerAcknowledgeStatus;
-import cn.com.qmth.examcloud.web.jpa.JpaEntity;
-
-@Entity
-@Table(name = "ec_oe_exam_file_answer_temp", indexes = {
-		@Index(name = "IDX_E_O_E_F_A_T_001", columnList = "examRecordDataId,questionOrder,filePath",unique = true) })
-public class ExamFileAnswerTempEntity extends JpaEntity {
-
-	/**
-	 * 
-	 */
-	private static final long serialVersionUID = 2418980939627339367L;
-
-	@Id
-	@GeneratedValue(strategy = GenerationType.IDENTITY)
-	private Long id;
-	@Column(nullable = false)
-	private Long examRecordDataId;
-	@Column( nullable = false)
-	private Long examStudentId;
-	@Column(nullable = false)
-	private Integer questionOrder;
-	@Column(nullable = false,length = 1000)
-	private String filePath;
-
-	@Enumerated(EnumType.STRING)
-	@Column(name = "status", nullable = false)
-	private FileAnswerAcknowledgeStatus status;
-
-	private String transferFileType;
-
-	public Long getId() {
-		return id;
-	}
-
-	public void setId(Long id) {
-		this.id = id;
-	}
-
-	public Long getExamRecordDataId() {
-		return examRecordDataId;
-	}
-
-	public void setExamRecordDataId(Long examRecordDataId) {
-		this.examRecordDataId = examRecordDataId;
-	}
-
-	public Long getExamStudentId() {
-		return examStudentId;
-	}
-
-	public void setExamStudentId(Long examStudentId) {
-		this.examStudentId = examStudentId;
-	}
-
-
-	public Integer getQuestionOrder() {
-		return questionOrder;
-	}
-
-	public void setQuestionOrder(Integer questionOrder) {
-		this.questionOrder = questionOrder;
-	}
-
-	public String getFilePath() {
-		return filePath;
-	}
-
-	public void setFilePath(String filePath) {
-		this.filePath = filePath;
-	}
-
-	public FileAnswerAcknowledgeStatus getStatus() {
-		return status;
-	}
-
-	public void setStatus(FileAnswerAcknowledgeStatus status) {
-		this.status = status;
-	}
-
-	public String getTransferFileType() {
-		return transferFileType;
-	}
-
-	public void setTransferFileType(String transferFileType) {
-		this.transferFileType = transferFileType;
-	}
-}
+// package cn.com.qmth.examcloud.core.oe.admin.dao.entity;
+//
+// import javax.persistence.Column;
+// import javax.persistence.Entity;
+// import javax.persistence.EnumType;
+// import javax.persistence.Enumerated;
+// import javax.persistence.GeneratedValue;
+// import javax.persistence.GenerationType;
+// import javax.persistence.Id;
+// import javax.persistence.Index;
+// import javax.persistence.Table;
+//
+// import cn.com.qmth.examcloud.core.oe.admin.dao.enums.FileAnswerAcknowledgeStatus;
+// import cn.com.qmth.examcloud.web.jpa.JpaEntity;
+//
+// @Entity
+// @Table(name = "ec_oe_exam_file_answer_temp", indexes = {
+// 		@Index(name = "IDX_E_O_E_F_A_T_001", columnList = "examRecordDataId,questionOrder,filePath",unique = true) })
+// public class ExamFileAnswerTempEntity extends JpaEntity {
+//
+// 	/**
+// 	 *
+// 	 */
+// 	private static final long serialVersionUID = 2418980939627339367L;
+//
+// 	@Id
+// 	@GeneratedValue(strategy = GenerationType.IDENTITY)
+// 	private Long id;
+// 	@Column(nullable = false)
+// 	private Long examRecordDataId;
+// 	@Column( nullable = false)
+// 	private Long examStudentId;
+// 	@Column(nullable = false)
+// 	private Integer questionOrder;
+// 	@Column(nullable = false,length = 1000)
+// 	private String filePath;
+//
+// 	@Enumerated(EnumType.STRING)
+// 	@Column(name = "status", nullable = false)
+// 	private FileAnswerAcknowledgeStatus status;
+//
+// 	private String transferFileType;
+//
+// 	public Long getId() {
+// 		return id;
+// 	}
+//
+// 	public void setId(Long id) {
+// 		this.id = id;
+// 	}
+//
+// 	public Long getExamRecordDataId() {
+// 		return examRecordDataId;
+// 	}
+//
+// 	public void setExamRecordDataId(Long examRecordDataId) {
+// 		this.examRecordDataId = examRecordDataId;
+// 	}
+//
+// 	public Long getExamStudentId() {
+// 		return examStudentId;
+// 	}
+//
+// 	public void setExamStudentId(Long examStudentId) {
+// 		this.examStudentId = examStudentId;
+// 	}
+//
+//
+// 	public Integer getQuestionOrder() {
+// 		return questionOrder;
+// 	}
+//
+// 	public void setQuestionOrder(Integer questionOrder) {
+// 		this.questionOrder = questionOrder;
+// 	}
+//
+// 	public String getFilePath() {
+// 		return filePath;
+// 	}
+//
+// 	public void setFilePath(String filePath) {
+// 		this.filePath = filePath;
+// 	}
+//
+// 	public FileAnswerAcknowledgeStatus getStatus() {
+// 		return status;
+// 	}
+//
+// 	public void setStatus(FileAnswerAcknowledgeStatus status) {
+// 		this.status = status;
+// 	}
+//
+// 	public String getTransferFileType() {
+// 		return transferFileType;
+// 	}
+//
+// 	public void setTransferFileType(String transferFileType) {
+// 		this.transferFileType = transferFileType;
+// 	}
+// }

+ 117 - 117
examcloud-core-oe-admin-dao/src/main/java/cn/com/qmth/examcloud/core/oe/admin/dao/entity/ExamingRecordEntity.java

@@ -1,117 +1,117 @@
-package cn.com.qmth.examcloud.core.oe.admin.dao.entity;
-
-import cn.com.qmth.examcloud.api.commons.enums.ExamType;
-import cn.com.qmth.examcloud.web.jpa.JpaEntity;
-
-import javax.persistence.*;
-
-/**
- * @Description 正在进行中的考试记录
- * @Author lideyin
- * @Date 2019/8/23 17:10
- * @Version 1.0
- */
-@Entity
-@Table(name = "ec_oe_examing_record", indexes = {
-        @Index(name = "IDX_E_O_E_R_001", columnList = "examRecordDataId"),
-        @Index(name="IDX_E_O_E_R_002",columnList = "studentId",unique = true),
-        @Index(name="IDX_E_O_E_R_003",columnList = "examType")
-})
-public class ExamingRecordEntity extends JpaEntity {
-
-    private static final long serialVersionUID = 4101954661852038672L;
-    /**
-     * 考试记录id
-     */
-    @Id
-    private Long id;
-
-    /**
-     * 考试记录dataId
-     */
-    @Column(nullable = false)
-    private Long examRecordDataId;
-    /**
-     * 学生ID
-     */
-    @Column(nullable = false)
-    private Long studentId;
-
-    /**
-     * 是否达到最大断点限制
-     */
-    private Boolean isExceed;
-
-    /**
-     * 断点续考次数
-     */
-    private Integer continuedCount;
-
-    /**
-     * 是否断点续考
-     */
-    @Column(name = "is_continued")
-    private Boolean isContinued;
-
-    /**
-     * 考试类型
-     */
-    @Column(length = 20)
-    @Enumerated(EnumType.STRING)
-    private ExamType examType;
-
-    public Long getId() {
-        return id;
-    }
-
-    public void setId(Long id) {
-        this.id = id;
-    }
-
-    public Long getExamRecordDataId() {
-        return examRecordDataId;
-    }
-
-    public void setExamRecordDataId(Long examRecordDataId) {
-        this.examRecordDataId = examRecordDataId;
-    }
-
-    public Long getStudentId() {
-        return studentId;
-    }
-
-    public void setStudentId(Long studentId) {
-        this.studentId = studentId;
-    }
-    public Boolean getIsExceed() {
-        return isExceed;
-    }
-
-    public void setIsExceed(Boolean isExceed) {
-        this.isExceed = isExceed;
-    }
-
-    public Boolean getIsContinued() {
-        return isContinued;
-    }
-
-    public void setIsContinued(Boolean isContinued) {
-        this.isContinued = isContinued;
-    }
-
-    public Integer getContinuedCount() {
-        return continuedCount;
-    }
-
-    public void setContinuedCount(Integer continuedCount) {
-        this.continuedCount = continuedCount;
-    }
-
-    public ExamType getExamType() {
-        return examType;
-    }
-
-    public void setExamType(ExamType examType) {
-        this.examType = examType;
-    }
-}
+// package cn.com.qmth.examcloud.core.oe.admin.dao.entity;
+//
+// import cn.com.qmth.examcloud.api.commons.enums.ExamType;
+// import cn.com.qmth.examcloud.web.jpa.JpaEntity;
+//
+// import javax.persistence.*;
+//
+// /**
+//  * @Description 正在进行中的考试记录
+//  * @Author lideyin
+//  * @Date 2019/8/23 17:10
+//  * @Version 1.0
+//  */
+// @Entity
+// @Table(name = "ec_oe_examing_record", indexes = {
+//         @Index(name = "IDX_E_O_E_R_001", columnList = "examRecordDataId"),
+//         @Index(name="IDX_E_O_E_R_002",columnList = "studentId",unique = true),
+//         @Index(name="IDX_E_O_E_R_003",columnList = "examType")
+// })
+// public class ExamingRecordEntity extends JpaEntity {
+//
+//     private static final long serialVersionUID = 4101954661852038672L;
+//     /**
+//      * 考试记录id
+//      */
+//     @Id
+//     private Long id;
+//
+//     /**
+//      * 考试记录dataId
+//      */
+//     @Column(nullable = false)
+//     private Long examRecordDataId;
+//     /**
+//      * 学生ID
+//      */
+//     @Column(nullable = false)
+//     private Long studentId;
+//
+//     /**
+//      * 是否达到最大断点限制
+//      */
+//     private Boolean isExceed;
+//
+//     /**
+//      * 断点续考次数
+//      */
+//     private Integer continuedCount;
+//
+//     /**
+//      * 是否断点续考
+//      */
+//     @Column(name = "is_continued")
+//     private Boolean isContinued;
+//
+//     /**
+//      * 考试类型
+//      */
+//     @Column(length = 20)
+//     @Enumerated(EnumType.STRING)
+//     private ExamType examType;
+//
+//     public Long getId() {
+//         return id;
+//     }
+//
+//     public void setId(Long id) {
+//         this.id = id;
+//     }
+//
+//     public Long getExamRecordDataId() {
+//         return examRecordDataId;
+//     }
+//
+//     public void setExamRecordDataId(Long examRecordDataId) {
+//         this.examRecordDataId = examRecordDataId;
+//     }
+//
+//     public Long getStudentId() {
+//         return studentId;
+//     }
+//
+//     public void setStudentId(Long studentId) {
+//         this.studentId = studentId;
+//     }
+//     public Boolean getIsExceed() {
+//         return isExceed;
+//     }
+//
+//     public void setIsExceed(Boolean isExceed) {
+//         this.isExceed = isExceed;
+//     }
+//
+//     public Boolean getIsContinued() {
+//         return isContinued;
+//     }
+//
+//     public void setIsContinued(Boolean isContinued) {
+//         this.isContinued = isContinued;
+//     }
+//
+//     public Integer getContinuedCount() {
+//         return continuedCount;
+//     }
+//
+//     public void setContinuedCount(Integer continuedCount) {
+//         this.continuedCount = continuedCount;
+//     }
+//
+//     public ExamType getExamType() {
+//         return examType;
+//     }
+//
+//     public void setExamType(ExamType examType) {
+//         this.examType = examType;
+//     }
+// }

+ 61 - 61
examcloud-core-oe-admin-dao/src/main/java/cn/com/qmth/examcloud/core/oe/admin/dao/entity/HandInExamRecordEntity.java

@@ -1,61 +1,61 @@
-package cn.com.qmth.examcloud.core.oe.admin.dao.entity;
-
-import cn.com.qmth.examcloud.web.jpa.JpaEntity;
-
-import javax.persistence.*;
-
-/**
- * @Description 已交卷但未作后续处理的考试记录
- * @Author lideyin
- * @Date 2019/8/23 17:10
- * @Version 1.0
- */
-@Entity
-@Table(name = "ec_oe_hand_in_exam_record", indexes = {
-        @Index(name = "IDX_E_O_H_I_E_R_001", columnList = "examRecordDataId")
-})
-public class HandInExamRecordEntity extends JpaEntity {
-
-    private static final long serialVersionUID = 4101954661852038672L;
-    /**
-     * 考试记录id
-     */
-    @Id
-    private Long id;
-
-    /**
-     * 考试记录dataId
-     */
-    @Column(nullable = false)
-    private Long examRecordDataId;
-    /**
-     * 学生ID
-     */
-    @Column(nullable = false)
-    private Long studentId;
-
-    public Long getId() {
-        return id;
-    }
-
-    public void setId(Long id) {
-        this.id = id;
-    }
-
-    public Long getExamRecordDataId() {
-        return examRecordDataId;
-    }
-
-    public void setExamRecordDataId(Long examRecordDataId) {
-        this.examRecordDataId = examRecordDataId;
-    }
-
-    public Long getStudentId() {
-        return studentId;
-    }
-
-    public void setStudentId(Long studentId) {
-        this.studentId = studentId;
-    }
-
-}
+// package cn.com.qmth.examcloud.core.oe.admin.dao.entity;
+//
+// import cn.com.qmth.examcloud.web.jpa.JpaEntity;
+//
+// import javax.persistence.*;
+//
+// /**
+//  * @Description 已交卷但未作后续处理的考试记录
+//  * @Author lideyin
+//  * @Date 2019/8/23 17:10
+//  * @Version 1.0
+//  */
+// @Entity
+// @Table(name = "ec_oe_hand_in_exam_record", indexes = {
+//         @Index(name = "IDX_E_O_H_I_E_R_001", columnList = "examRecordDataId")
+// })
+// public class HandInExamRecordEntity extends JpaEntity {
+//
+//     private static final long serialVersionUID = 4101954661852038672L;
+//     /**
+//      * 考试记录id
+//      */
+//     @Id
+//     private Long id;
+//
+//     /**
+//      * 考试记录dataId
+//      */
+//     @Column(nullable = false)
+//     private Long examRecordDataId;
+//     /**
+//      * 学生ID
+//      */
+//     @Column(nullable = false)
+//     private Long studentId;
+//
+//     public Long getId() {
+//         return id;
+//     }
+//
+//     public void setId(Long id) {
+//         this.id = id;
+//     }
+//
+//     public Long getExamRecordDataId() {
+//         return examRecordDataId;
+//     }
+//
+//     public void setExamRecordDataId(Long examRecordDataId) {
+//         this.examRecordDataId = examRecordDataId;
+//     }
+//
+//     public Long getStudentId() {
+//         return studentId;
+//     }
+//
+//     public void setStudentId(Long studentId) {
+//         this.studentId = studentId;
+//     }
+//
+// }