@@ -241,6 +241,9 @@
JOIN
exam_detail b ON a.id = b.print_plan_id
<where>
+ <if test="schoolId != null and schoolId > 0">
+ a.school_id = #{schoolId}
+ </if>
<if test="printPlanId != null and printPlanId != ''">
a.id = #{printPlanId}
</if>