|
@@ -219,7 +219,7 @@
|
|
|
LEFT JOIN
|
|
|
basic_exam be ON a.exam_id = be.id
|
|
|
<where>
|
|
|
- and a.school_id = #{schoolId}
|
|
|
+ and a.school_id = #{schoolId} and be.enable = true
|
|
|
AND a.status != 'END'
|
|
|
AND b.status not IN
|
|
|
<foreach collection="examDetailStatus" item="item" index="index" open="(" separator="," close=")">
|
|
@@ -322,7 +322,7 @@
|
|
|
LEFT JOIN
|
|
|
basic_exam be ON a.exam_id = be.id
|
|
|
<where>
|
|
|
- and a.school_id = #{schoolId}
|
|
|
+ and a.school_id = #{schoolId} and be.enable = true
|
|
|
AND a.status != 'END'
|
|
|
AND b.status not IN
|
|
|
<foreach collection="examDetailStatus" item="item" index="index" open="(" separator="," close=")">
|
|
@@ -428,7 +428,7 @@
|
|
|
LEFT JOIN
|
|
|
basic_exam be ON a.exam_id = be.id
|
|
|
<where>
|
|
|
- and a.school_id = #{schoolId}
|
|
|
+ and a.school_id = #{schoolId} and be.enable = true
|
|
|
AND a.status != 'END'
|
|
|
AND b.status not IN
|
|
|
<foreach collection="examDetailStatus" item="item" index="index" open="(" separator="," close=")">
|
|
@@ -505,7 +505,7 @@
|
|
|
LEFT JOIN
|
|
|
basic_exam be ON a.exam_id = be.id
|
|
|
<where>
|
|
|
- and a.school_id = #{schoolId}
|
|
|
+ and a.school_id = #{schoolId} and be.enable = true
|
|
|
AND a.status != 'END'
|
|
|
AND b.status not IN
|
|
|
<foreach collection="examDetailStatus" item="item" index="index" open="(" separator="," close=")">
|