|
@@ -24,39 +24,91 @@ public class PaperResult {
|
|
|
@Column(nullable = false)
|
|
|
private Long pid;
|
|
|
|
|
|
+ @ApiModelProperty("试卷编号")
|
|
|
private String code;
|
|
|
|
|
|
@CreationTimestamp
|
|
|
@Column(nullable = false)
|
|
|
private Date createtime;
|
|
|
-// @Column(nullable = false, columnDefinition = "double(10,2) default 0")
|
|
|
-// private Double score1;
|
|
|
-// @Column(nullable = false, columnDefinition = "double(10,2) default 0")
|
|
|
-// private Double score2;
|
|
|
-// @Column(nullable = false, columnDefinition = "double(10,2) default 0")
|
|
|
-// private Double score3;
|
|
|
-// @Column(nullable = false, columnDefinition = "double(10,2) default 0")
|
|
|
-// private Double score4;
|
|
|
-// @Column(nullable = false, columnDefinition = "double(10,2) default 0")
|
|
|
-// private Double score5;
|
|
|
-// @Column(nullable = false, columnDefinition = "double(10,2) default 0")
|
|
|
-// private Double score6;
|
|
|
|
|
|
@Lob
|
|
|
@Column(nullable = false)
|
|
|
- @ApiModelProperty("试卷分数")
|
|
|
+ @ApiModelProperty("json化的试卷分数")
|
|
|
private String jsonScore;
|
|
|
|
|
|
+ @ApiModelProperty("总分")
|
|
|
private Double totalScore;
|
|
|
|
|
|
+ /**
|
|
|
+ * 答对的题目编号
|
|
|
+ * 1,2
|
|
|
+ */
|
|
|
@Lob
|
|
|
@Column(nullable = false)
|
|
|
- @ApiModelProperty("正确情况")
|
|
|
+ @ApiModelProperty("答对的题目编号 1,2")
|
|
|
+ private String collectQuestion;
|
|
|
+
|
|
|
+ @Lob
|
|
|
+ @ApiModelProperty("知识掌握率,88.88")
|
|
|
+ private Double knowledgeRate;
|
|
|
+
|
|
|
/**
|
|
|
+ * 各能力分数,5分制
|
|
|
+ * {
|
|
|
+ * "计算能力":"aa"
|
|
|
+ * }
|
|
|
+ */
|
|
|
+ @Lob
|
|
|
+ @ApiModelProperty("各能力分数,5分制 {\"计算能力\":4.1}")
|
|
|
+ private String abilityScore;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 以章节为单位各知识点接受程度
|
|
|
+ * 0 未掌握
|
|
|
+ * 1 半掌握
|
|
|
+ * 2 已掌握
|
|
|
+ * [
|
|
|
+ * [1,1],[0,1,2]
|
|
|
+ * ]
|
|
|
*
|
|
|
- * 1,2
|
|
|
*/
|
|
|
- private String collectQuestion;
|
|
|
+ @Lob
|
|
|
+ @ApiModelProperty("以章节为单位各知识点掌握程度,0 未掌握 1半掌握 2已掌握 [[1,2],[1,2,2,2]]")
|
|
|
+ private String knowledgeAcceptanceLevel;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 各章节掌握率
|
|
|
+ * {
|
|
|
+ * "预备章节":0,
|
|
|
+ * "第一章":88.8,
|
|
|
+ * }
|
|
|
+ *
|
|
|
+ */
|
|
|
+ @Lob
|
|
|
+ @ApiModelProperty("各章节掌握率 {\"预备章节\":0,\"第一章\":88.88}")
|
|
|
+ private String chapterRate;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 各题目答题时间
|
|
|
+ * [50,20]
|
|
|
+ */
|
|
|
+ @Lob
|
|
|
+ @ApiModelProperty("各题目作答时间 [50,20,10,20]")
|
|
|
+ private String useTime;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 模块作答详情
|
|
|
+ * {
|
|
|
+ * "0":{
|
|
|
+ * "collectInfo":"43/50",
|
|
|
+ * "useTime":"30:00/30:00",
|
|
|
+ * "score":35
|
|
|
+ * }
|
|
|
+ * }
|
|
|
+ */
|
|
|
+ @Lob
|
|
|
+ @ApiModelProperty("模块作答详情 \"模块一\":{\"collectInfo\":\"43/50\",\"useTime\":\"30:00/30:00\",\"score\":30}}")
|
|
|
+ private String sectionInfo;
|
|
|
|
|
|
// @Transient
|
|
|
// private List<AbilityScore> scores;
|
|
@@ -119,53 +171,6 @@ public class PaperResult {
|
|
|
public void setTotalScore(Double totalScore) {
|
|
|
this.totalScore = totalScore;
|
|
|
}
|
|
|
-// public Double getScore1() {
|
|
|
-// return score1;
|
|
|
-// }
|
|
|
-//
|
|
|
-// public void setScore1(Double score1) {
|
|
|
-// this.score1 = score1;
|
|
|
-// }
|
|
|
-//
|
|
|
-// public Double getScore2() {
|
|
|
-// return score2;
|
|
|
-// }
|
|
|
-//
|
|
|
-// public void setScore2(Double score2) {
|
|
|
-// this.score2 = score2;
|
|
|
-// }
|
|
|
-//
|
|
|
-// public Double getScore3() {
|
|
|
-// return score3;
|
|
|
-// }
|
|
|
-//
|
|
|
-// public void setScore3(Double score3) {
|
|
|
-// this.score3 = score3;
|
|
|
-// }
|
|
|
-//
|
|
|
-// public Double getScore4() {
|
|
|
-// return score4;
|
|
|
-// }
|
|
|
-//
|
|
|
-// public void setScore4(Double score4) {
|
|
|
-// this.score4 = score4;
|
|
|
-// }
|
|
|
-//
|
|
|
-// public Double getScore5() {
|
|
|
-// return score5;
|
|
|
-// }
|
|
|
-//
|
|
|
-// public void setScore5(Double score5) {
|
|
|
-// this.score5 = score5;
|
|
|
-// }
|
|
|
-//
|
|
|
-// public Double getScore6() {
|
|
|
-// return score6;
|
|
|
-// }
|
|
|
-//
|
|
|
-// public void setScore6(Double score6) {
|
|
|
-// this.score6 = score6;
|
|
|
-// }
|
|
|
|
|
|
public String getJsonScore() {
|
|
|
return jsonScore;
|
|
@@ -175,15 +180,6 @@ public class PaperResult {
|
|
|
this.jsonScore = jsonScore;
|
|
|
}
|
|
|
|
|
|
-// public List<AbilityScore> getScores() {
|
|
|
-// return scores;
|
|
|
-// }
|
|
|
-//
|
|
|
-// public void setScores(List<AbilityScore> scores) {
|
|
|
-// this.scores = scores;
|
|
|
-// }
|
|
|
-
|
|
|
-
|
|
|
public String getCollectQuestion() {
|
|
|
return collectQuestion;
|
|
|
}
|
|
@@ -199,4 +195,52 @@ public class PaperResult {
|
|
|
public void setCode(String code) {
|
|
|
this.code = code;
|
|
|
}
|
|
|
+
|
|
|
+ public Double getKnowledgeRate() {
|
|
|
+ return knowledgeRate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setKnowledgeRate(Double knowledgeRate) {
|
|
|
+ this.knowledgeRate = knowledgeRate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getAbilityScore() {
|
|
|
+ return abilityScore;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setAbilityScore(String abilityScore) {
|
|
|
+ this.abilityScore = abilityScore;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getKnowledgeAcceptanceLevel() {
|
|
|
+ return knowledgeAcceptanceLevel;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setKnowledgeAcceptanceLevel(String knowledgeAcceptanceLevel) {
|
|
|
+ this.knowledgeAcceptanceLevel = knowledgeAcceptanceLevel;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getChapterRate() {
|
|
|
+ return chapterRate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setChapterRate(String chapterRate) {
|
|
|
+ this.chapterRate = chapterRate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getUseTime() {
|
|
|
+ return useTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setUseTime(String useTime) {
|
|
|
+ this.useTime = useTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getSectionInfo() {
|
|
|
+ return sectionInfo;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSectionInfo(String sectionInfo) {
|
|
|
+ this.sectionInfo = sectionInfo;
|
|
|
+ }
|
|
|
}
|