瀏覽代碼

进度查询加入考试记录

wangliang 2 年之前
父節點
當前提交
d3096fb244

+ 12 - 0
themis-business/src/main/java/com/qmth/themis/business/bean/admin/InvigilateListProgressBean.java

@@ -66,6 +66,18 @@ public class InvigilateListProgressBean implements Serializable {
     @ApiModelProperty(value = "剩余考试次数")
     private Integer leftExamCount;
 
+    @JsonSerialize(using = ToStringSerializer.class)
+    @ApiModelProperty(name = "学生id")
+    private Long studentId;
+
+    public Long getStudentId() {
+        return studentId;
+    }
+
+    public void setStudentId(Long studentId) {
+        this.studentId = studentId;
+    }
+
     public String getRoomName() {
         return roomName;
     }

+ 2 - 1
themis-business/src/main/resources/mapper/TOeExamRecordMapper.xml

@@ -588,7 +588,8 @@
         (select count(1) from t_oe_exam_record toer where toer.exam_student_id =
         tees.id and (toer.status = 'FINISHED' or toer.status = 'PERSISTED') and toer.first_start_time is not null) as
         statusTemp,
-        tes.mobile_number as mobileNumber
+        tes.mobile_number as mobileNumber,
+        tes.id as studentId
         from
         t_e_exam_student tees
         left join t_e_exam tee on