|
@@ -378,7 +378,7 @@
|
|
|
and t.exceptionCount <= #{maxExceptionCount}
|
|
|
</if>
|
|
|
</where>
|
|
|
- order by t.approveStatus
|
|
|
+ order by t.approveStatus,CAST(t.examActivityCode AS UNSIGNED),CAST(t.roomCode AS UNSIGNED)
|
|
|
</select>
|
|
|
|
|
|
<update id="approveStatusListUpdate">
|
|
@@ -525,7 +525,7 @@
|
|
|
group by t.id,
|
|
|
tees.room_code,
|
|
|
tees.room_name,
|
|
|
- tees.course_code,tee.name,teea.id,teea.code,tees.`identity`,tees.name,leftExamCount,statusTemp,tes.mobile_number,t.breach_status,tees.class_no) t
|
|
|
+ tees.course_code,tees.course_name,tee.name,teea.id,teea.code,tees.`identity`,tees.name,leftExamCount,statusTemp,tes.mobile_number,t.breach_status,tees.class_no) t
|
|
|
<where>
|
|
|
<if test="status != null and status != '' or status == 0">
|
|
|
<choose>
|
|
@@ -546,6 +546,7 @@
|
|
|
</if>
|
|
|
</if>
|
|
|
</where>
|
|
|
+ order by CAST(t.examActivityCode AS UNSIGNED),CAST(t.roomCode AS UNSIGNED)
|
|
|
</select>
|
|
|
|
|
|
<select id="invigilatePageProgressListExport"
|
|
@@ -623,7 +624,7 @@
|
|
|
group by t.id,
|
|
|
tees.room_code,
|
|
|
tees.room_name,
|
|
|
- tees.course_code,tee.name,teea.id,teea.code,tees.`identity`,tees.name,leftExamCount,statusTemp,tes.mobile_number,t.breach_status,tees.class_no) t
|
|
|
+ tees.course_code,tees.course_name,tee.name,teea.id,teea.code,tees.`identity`,tees.name,leftExamCount,statusTemp,tes.mobile_number,t.breach_status,tees.class_no) t
|
|
|
<where>
|
|
|
<if test="status != null and status != '' or status == 0">
|
|
|
<choose>
|
|
@@ -644,10 +645,12 @@
|
|
|
</if>
|
|
|
</if>
|
|
|
</where>
|
|
|
+ order by CAST(t.examActivityCode AS UNSIGNED),CAST(t.roomCode AS UNSIGNED)
|
|
|
</select>
|
|
|
|
|
|
<select id="invigilatePageListHistory" resultType="com.qmth.themis.business.bean.admin.InvigilateListHistoryBean">
|
|
|
<include refid="invigilatePageListHistorySql"/>
|
|
|
+ order by CAST(t.examActivityCode AS UNSIGNED),CAST(t.roomCode AS UNSIGNED)
|
|
|
</select>
|
|
|
|
|
|
<sql id="invigilatePageListHistorySql">
|
|
@@ -795,6 +798,7 @@
|
|
|
<select id="invigilatePageListHistoryExport"
|
|
|
resultType="com.qmth.themis.business.bean.admin.InvigilateListHistoryBean">
|
|
|
<include refid="invigilatePageListHistorySql"/>
|
|
|
+ order by CAST(t.examActivityCode AS UNSIGNED),CAST(t.roomCode AS UNSIGNED)
|
|
|
</select>
|
|
|
|
|
|
<select id="getDoneCountByDay" resultType="java.util.Map">
|
|
@@ -1403,7 +1407,7 @@
|
|
|
and tees.identity like CONCAT('%', #{identity},'%')
|
|
|
</if>
|
|
|
</where>
|
|
|
- order by tees.id
|
|
|
+ order by CAST(teea.code AS UNSIGNED),CAST(tees.room_code AS UNSIGNED)
|
|
|
</select>
|
|
|
|
|
|
<select id="examRecordDetailListQuery" resultType="java.lang.String">
|