xiatian 1 tháng trước cách đây
mục cha
commit
dc90afbdf7

+ 4 - 3
examcloud-core-oe-admin-service/src/main/java/cn/com/qmth/examcloud/core/oe/admin/service/impl/ExamRecordForMarkingServiceImpl.java

@@ -230,9 +230,10 @@ public class ExamRecordForMarkingServiceImpl implements ExamRecordForMarkingServ
             return null;
         }
         StringBuffer sql = new StringBuffer();
-        sql.append("select t.id,t.exam_id,t.exam_record_data_id,t.base_paper_id,t.paper_type,t.course_id,t.batch_num "
-                + " from ec_oe_exam_record_4_marking t left join ec_oe_exam_record_data f  "
-                + " on t.exam_record_data_id=f.id  where 1=1 ");
+        sql.append(
+                "select t.id,t.exam_id,t.exam_record_data_id,t.base_paper_id,t.paper_type,t.course_id,t.batch_num,f.random_paper "
+                        + " from ec_oe_exam_record_4_marking t left join ec_oe_exam_record_data f  "
+                        + " on t.exam_record_data_id=f.id  where 1=1 ");
 
         if (includeRandomPaper == null || !includeRandomPaper) {
             sql.append(" and  f.random_paper =0");