|
@@ -9,7 +9,9 @@
|
|
and t.id=#{examId}
|
|
and t.id=#{examId}
|
|
</select>
|
|
</select>
|
|
<select id="examData" resultType="cn.com.qmth.markingaudit.bean.ExamDataVo">
|
|
<select id="examData" resultType="cn.com.qmth.markingaudit.bean.ExamDataVo">
|
|
- select t.id,t.name,t.type kind,t.exam_time,t.mark_start_time start_time,t.mark_end_time end_time,t.create_time,t.sas_config
|
|
|
|
|
|
+ select t.id,t.name,t.type kind,t.exam_time,t.mark_start_time start_time
|
|
|
|
+ ,t.mark_end_time end_time,t.create_time,t.sas_config,
|
|
|
|
+ t.id dataId
|
|
from eb_exam t
|
|
from eb_exam t
|
|
left join b_school s on t.school_id=s.id
|
|
left join b_school s on t.school_id=s.id
|
|
where s.code=#{req.schoolCode}
|
|
where s.code=#{req.schoolCode}
|
|
@@ -19,7 +21,7 @@
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<select id="studentData" resultType="cn.com.qmth.markingaudit.bean.StudentDataVo">
|
|
<select id="studentData" resultType="cn.com.qmth.markingaudit.bean.StudentDataVo">
|
|
- select t.id,t.name,t.exam_number cardNo,t.student_code studentId,
|
|
|
|
|
|
+ select t.id dataId,t.name,t.exam_number cardNo,t.student_code studentId,
|
|
(case when t.is_absent=0 and t.is_upload=1 then 1 else 0 end) status
|
|
(case when t.is_absent=0 and t.is_upload=1 then 1 else 0 end) status
|
|
from eb_exam_student t
|
|
from eb_exam_student t
|
|
where t.exam_id=#{req.examId}
|
|
where t.exam_id=#{req.examId}
|