|
@@ -101,14 +101,14 @@
|
|
|
and es.school_id = #{schoolId}
|
|
|
</if>
|
|
|
<if test="examDetailCourseIds != null and examDetailCourseIds != '' and examDetailCourseIds.size > 0">
|
|
|
- AND edc.id IN
|
|
|
+ AND es.exam_detail_course_id IN
|
|
|
<foreach collection="examDetailCourseIds" item="examDetailCourseId" index="index" open="(" separator=","
|
|
|
close=")">
|
|
|
#{examDetailCourseId}
|
|
|
</foreach>
|
|
|
</if>
|
|
|
</where>
|
|
|
- order by edc.course_code, 0+ cast(es.site_number as char)
|
|
|
+ order by edc.course_code, 0+ cast(es.site_number as char), es.ticket_number
|
|
|
</select>
|
|
|
<select id="listStudentByPrintPlanIdAndSyncStatus"
|
|
|
resultType="com.qmth.distributed.print.business.bean.dto.SyncExamStudentDto">
|