@@ -64,7 +64,7 @@
<if test="schoolId != null and schoolId != ''">
and a.school_id = #{schoolId}
</if>
- <if test="printPlanIdList != null">
+ <if test="printPlanIdList != null and printPlanIdList.size() > 0">
and a.id IN
<foreach collection="printPlanIdList" item="item" index="index" open="(" separator="," close=")">
#{item}