@@ -183,7 +183,7 @@
#{workshopId}
</foreach>
</if>
- <if test="factoryId != null and factoryId != ''">and a1.TENANTID = #{factoryId}</if>
+ <if test="factoryId != null and factoryId != 'ALL'">and a1.TENANTID = #{factoryId}</if>
<if test="startTime != null ">and a1.PLANSTARTDATE >= #{startTime}</if>
<if test="endTime != null ">and a1.PLANENDDATE <= #{endTime}