|
@@ -660,9 +660,10 @@
|
|
order by tm.subject_code,tm.subjectName,tm.campus_code,tm.exam_site,tm.exam_room
|
|
order by tm.subject_code,tm.subjectName,tm.campus_code,tm.exam_site,tm.exam_room
|
|
</select>
|
|
</select>
|
|
<select id="studentPage" resultType="cn.com.qmth.scancentral.vo.student.StudentPageVo">
|
|
<select id="studentPage" resultType="cn.com.qmth.scancentral.vo.student.StudentPageVo">
|
|
- select t.*,ss.device_name
|
|
|
|
|
|
+ select t.*,ss.device_name,su.name subjectName
|
|
from sc_student t
|
|
from sc_student t
|
|
left join sc_scanner ss on t.device=ss.device
|
|
left join sc_scanner ss on t.device=ss.device
|
|
|
|
+ left join sc_subject su on t.exam_id=su.exam_id and t.subject_code=su.code
|
|
where t.exam_id=#{req.examId}
|
|
where t.exam_id=#{req.examId}
|
|
<if test="req.campusCode != null and req.campusCode !=''">
|
|
<if test="req.campusCode != null and req.campusCode !=''">
|
|
and t.campus_code=#{req.campusCode}
|
|
and t.campus_code=#{req.campusCode}
|