@ -363,7 +363,7 @@
left join logpm_warehouse_waybill lww on lww.waybill_no = ldsa.waybill_number
where ldsa.is_zero = 1
and ldsa.warehouse_id = #{param.warehouseId}
<if test="param.orderCodes != null and param.orderCodes.length > 0">
<if test="param.orderCodes != null and param.orderCodes.size() > 0">
and ldsa.order_code in
<foreach collection="param.orderCodes" item="item" open="(" separator="," close=")">
#{item}