@@ -93,6 +93,9 @@
from t_e_exam_activity teea
left join t_e_exam tee on teea.exam_id = tee.id
<where>
+ <if test="id != null and id != ''">
+ and teea.id = #{id}
+ </if>
<if test="examId != null and examId != ''">
and teea.exam_id = #{examId}
</if>