@ -213,7 +213,7 @@
sum(t.received_quantity) reNum
from logpm_distribution_loadscaninvn t
group by t.reservation_id) loadscaninvn on loadscaninvn.reservation_id = obj.id
where obj.reservation_status <![CDATA[<]]> '40'
where obj.reservation_status <![CDATA[<]]> '40' and lddl.customers_number > 0
) t
${ew.customSqlSegment}
</select>