|
@@ -10,15 +10,15 @@
|
|
|
<choose>
|
|
|
<when test="inspect != null and inspect == true">
|
|
|
so.id = tbs.inspect_college_id and tbs.absent = 0
|
|
|
- <if test="filter != null and filter == true">
|
|
|
- join t_b_exam_course tbec on
|
|
|
- tbec.course_code = bc.code
|
|
|
- </if>
|
|
|
</when>
|
|
|
<otherwise>
|
|
|
so.id = tbs.teach_college_id
|
|
|
</otherwise>
|
|
|
</choose>
|
|
|
+ <if test="filter != null and filter == true">
|
|
|
+ join t_b_exam_course tbec on
|
|
|
+ tbec.course_code = bc.code
|
|
|
+ </if>
|
|
|
<where>
|
|
|
<if test="examId != null and examId != ''">
|
|
|
and tbs.exam_id = #{examId}
|
|
@@ -39,7 +39,7 @@
|
|
|
#{collegeId}
|
|
|
</foreach>
|
|
|
</if>
|
|
|
- <if test="inspect != null and inspect == true and filter != null and filter == true">
|
|
|
+ <if test="filter != null and filter == true">
|
|
|
and tbec.publish_status = 'PUBLISH'
|
|
|
</if>
|
|
|
</where>
|