瀏覽代碼

提交机考数据导出代码

chenken 7 年之前
父節點
當前提交
2e30d385c9

+ 7 - 9
cqb-paper/src/main/java/com/qmth/cqb/paper/model/computerTestModel/ComputerTestPaper.java

@@ -25,12 +25,10 @@ public class ComputerTestPaper {
 	 */
 	private double totalScore;
 	/**
-	 *  pNone 	不含音视频文件   
-	 *  paudio 	含音频文件   
-	 *  pvideo	含视频文件   
-	 *  pAll	 即含音频也含视频
+	 * true:含有音视频
+	 * false:不含有音视频
 	 */
-	private String emVideoType;
+	private Boolean emVideoType;
 	/**
 	 * 大题数量
 	 */
@@ -50,9 +48,9 @@ public class ComputerTestPaper {
 		this.totalScore = paper.getTotalScore();
 		this.detailCount = paper.getPaperDetailCount();
 		if(paper.getHasAudioQuestion()==null||!paper.getHasAudioQuestion()){
-			this.emVideoType = "pNone";
+			this.emVideoType = false;
 		}else{
-			this.emVideoType = "paudio";
+			this.emVideoType = true;
 		}
 	}
 	
@@ -74,10 +72,10 @@ public class ComputerTestPaper {
 	public void setTotalScore(double totalScore) {
 		this.totalScore = totalScore;
 	}
-	public String getEmVideoType() {
+	public Boolean getEmVideoType() {
 		return emVideoType;
 	}
-	public void setEmVideoType(String emVideoType) {
+	public void setEmVideoType(Boolean emVideoType) {
 		this.emVideoType = emVideoType;
 	}
 	public int getDetailCount() {