|
@@ -276,24 +276,24 @@
|
|
|
exam_student ab
|
|
|
GROUP BY exam_detail_course_id) d ON c.id = d.exam_detail_course_id
|
|
|
<where>
|
|
|
- c.school_id = #{schoolId}
|
|
|
+ and c.school_id = #{schoolId}
|
|
|
<if test="printPlanId != null and printPlanId != ''">
|
|
|
- a.id = #{printPlanId}
|
|
|
+ and a.id = #{printPlanId}
|
|
|
</if>
|
|
|
<if test="status != null and status != ''">
|
|
|
- b.status = #{status}
|
|
|
+ and b.status = #{status}
|
|
|
</if>
|
|
|
<if test="examPlace != null and examPlace != ''">
|
|
|
- b.exam_place = #{examPlace}
|
|
|
+ and b.exam_place = #{examPlace}
|
|
|
</if>
|
|
|
<if test="examRoom != null and examRoom != ''">
|
|
|
- b.exam_room = #{examRoom}
|
|
|
+ and b.exam_room = #{examRoom}
|
|
|
</if>
|
|
|
<if test="examStartTime != null and examStartTime != ''">
|
|
|
- b.exam_start_time > #{examStartTime}
|
|
|
+ and b.exam_start_time > #{examStartTime}
|
|
|
</if>
|
|
|
<if test="examEndTime != null and examEndTime != ''">
|
|
|
- b.exam_end_time < #{examEndTime}
|
|
|
+ and b.exam_end_time < #{examEndTime}
|
|
|
</if>
|
|
|
</where>
|
|
|
</select>
|