WANG 6 years ago
parent
commit
135a1d046f

+ 5 - 0
examcloud-core-examwork-api-provider/src/main/java/cn/com/qmth/examcloud/core/examwork/api/controller/ExamStudentController.java

@@ -252,6 +252,11 @@ public class ExamStudentController extends ControllerSupport {
 					null == exam.getExamStudentLocked() ? false : exam.getExamStudentLocked());
 			bean.setStarted(started);
 
+			bean.setExt1(cur.getExt1());
+			bean.setExt2(cur.getExt2());
+			bean.setExt3(cur.getExt3());
+			bean.setExt4(cur.getExt4());
+			bean.setExt5(cur.getExt5());
 			ret.add(bean);
 		}
 		return new PageInfo<ExamStudentDomain>(examStudents, ret);

+ 65 - 0
examcloud-core-examwork-api-provider/src/main/java/cn/com/qmth/examcloud/core/examwork/api/controller/bean/ExamStudentDomain.java

@@ -73,6 +73,31 @@ public class ExamStudentDomain implements JsonSerializable {
 
 	private Boolean started;
 
+	/**
+	 * 扩展属性1
+	 */
+	private String ext1;
+
+	/**
+	 * 扩展属性2
+	 */
+	private String ext2;
+
+	/**
+	 * 扩展属性3
+	 */
+	private String ext3;
+
+	/**
+	 * 扩展属性4
+	 */
+	private String ext4;
+
+	/**
+	 * 扩展属性5
+	 */
+	private String ext5;
+
 	public Long getId() {
 		return id;
 	}
@@ -305,4 +330,44 @@ public class ExamStudentDomain implements JsonSerializable {
 		this.courseId = courseId;
 	}
 
+	public String getExt1() {
+		return ext1;
+	}
+
+	public void setExt1(String ext1) {
+		this.ext1 = ext1;
+	}
+
+	public String getExt2() {
+		return ext2;
+	}
+
+	public void setExt2(String ext2) {
+		this.ext2 = ext2;
+	}
+
+	public String getExt3() {
+		return ext3;
+	}
+
+	public void setExt3(String ext3) {
+		this.ext3 = ext3;
+	}
+
+	public String getExt4() {
+		return ext4;
+	}
+
+	public void setExt4(String ext4) {
+		this.ext4 = ext4;
+	}
+
+	public String getExt5() {
+		return ext5;
+	}
+
+	public void setExt5(String ext5) {
+		this.ext5 = ext5;
+	}
+
 }