|
@@ -155,8 +155,9 @@
|
|
|
<select id="getTotalCountInfo"
|
|
|
resultType="com.qmth.themis.business.bean.admin.ExamViewCountListBean">
|
|
|
select t.exam_id examId,t.exam_activity_id examActivityId,t.room_code
|
|
|
- roomCode,t.room_name roomName, count(1) examTotal from
|
|
|
+ roomCode,t.room_name roomName, count(1) examTotal,teea.code as examActivityCode from
|
|
|
t_e_exam_student t left join t_e_student h on t.student_id=h.id
|
|
|
+ left join t_e_exam_activity teea on teea.id = t.exam_activity_id
|
|
|
where t.exam_id = #{examId}
|
|
|
<if test="orgId != null">
|
|
|
and h.org_id=#{orgId}
|
|
@@ -224,7 +225,7 @@
|
|
|
examActivityId,t.room_code
|
|
|
roomCode,t.course_code courseCode,t.course_name
|
|
|
courseName,t.name,t.identity
|
|
|
- ,t.room_name roomName from
|
|
|
+ ,t.room_name roomName,f.code as examActivityCode from
|
|
|
t_e_exam_student t
|
|
|
left join t_e_exam_activity f on
|
|
|
t.exam_activity_id=f.id
|
|
@@ -258,9 +259,10 @@
|
|
|
examActivityId,t.room_code
|
|
|
roomCode,t.course_code courseCode,t.course_name
|
|
|
courseName,t.name,t.identity
|
|
|
- ,t.room_name roomName from
|
|
|
+ ,t.room_name roomName,teea.code as examActivityCode from
|
|
|
t_e_exam_student t
|
|
|
left join t_e_student h on t.student_id=h.id
|
|
|
+ left join t_e_exam_activity teea on teea.id = t.exam_activity_id
|
|
|
where t.exam_id = #{examId}
|
|
|
<if test="orgId != null">
|
|
|
and h.org_id=#{orgId}
|