|
@@ -230,9 +230,10 @@ public class ExamRecordForMarkingServiceImpl implements ExamRecordForMarkingServ
|
|
return null;
|
|
return null;
|
|
}
|
|
}
|
|
StringBuffer sql = new StringBuffer();
|
|
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) {
|
|
if (includeRandomPaper == null || !includeRandomPaper) {
|
|
sql.append(" and f.random_paper =0");
|
|
sql.append(" and f.random_paper =0");
|