|
@@ -385,10 +385,10 @@
|
|
and teea.enable = 1
|
|
and teea.enable = 1
|
|
<where>
|
|
<where>
|
|
tees.exam_id = #{examId}
|
|
tees.exam_id = #{examId}
|
|
- and tess.enable = 1
|
|
|
|
- and tess.id <![CDATA[ > ]]> #{idGt}
|
|
|
|
- and tess.already_exam_count is not null
|
|
|
|
- and tess.already_exam_count <![CDATA[ > ]]> 0
|
|
|
|
|
|
+ and tees.enable = 1
|
|
|
|
+ and tees.id <![CDATA[ > ]]> #{idGt}
|
|
|
|
+ and tees.already_exam_count is not null
|
|
|
|
+ and tees.already_exam_count <![CDATA[ > ]]> 0
|
|
<if test="courseCode != null and courseCode != ''">
|
|
<if test="courseCode != null and courseCode != ''">
|
|
and tees.course_code = #{courseCode}
|
|
and tees.course_code = #{courseCode}
|
|
</if>
|
|
</if>
|