Sfoglia il codice sorgente

新增学生视频监考回放查询兼容之前版本数据

wangliang 2 anni fa
parent
commit
f2586f5aec

+ 6 - 6
themis-business/src/main/java/com/qmth/themis/business/dto/response/TEStudentExamRecordDto.java

@@ -58,15 +58,15 @@ public class TEStudentExamRecordDto implements Serializable {
     @ApiModelProperty(name = "交卷时间")
     private Long finishTime;
 
-    @ApiModelProperty(name = "开启监控的视频源")
-    private String monitorVideoSource;
+    @ApiModelProperty(name = "开启转录的视频源")
+    private String monitorRecord;
 
-    public String getMonitorVideoSource() {
-        return monitorVideoSource;
+    public String getMonitorRecord() {
+        return monitorRecord;
     }
 
-    public void setMonitorVideoSource(String monitorVideoSource) {
-        this.monitorVideoSource = monitorVideoSource;
+    public void setMonitorRecord(String monitorRecord) {
+        this.monitorRecord = monitorRecord;
     }
 
     public Long getFinishTime() {

+ 4 - 4
themis-business/src/main/resources/mapper/TEStudentMapper.xml

@@ -67,14 +67,14 @@
             t_m_tencent_video_message t
             where
             t.exam_record_id = toer.id)) as videoCount,
-            tee.monitor_video_source as monitorVideoSource
+            tee.monitor_record as monitorRecord
         from
             t_e_exam_student tees
-        left join t_e_exam tee on
+        join t_e_exam tee on
             tee.id = tees.exam_id
-        inner join t_oe_exam_record toer on
+        join t_oe_exam_record toer on
             toer.exam_student_id = tees.id and toer.exam_id = tee.id
-        left join t_e_student tes on
+        join t_e_student tes on
             tes.id = tees.student_id
             <where>
                 <if test="studentId != null and studentId != ''">