@@ -1605,7 +1605,7 @@
<if test="warehouseId !=null">
and sq.warehouse_id = #{warehouseId}
</if>
- <if test="typeList != null">
+ <if test="typeList != null and typeList.size() > 0">
and sq.type in
<foreach close=")" collection="typeList" item="typeList" open="(" separator=",">
#{typeList}