Commit 9e14f1f8 by 泽锋 李

fix

parent 9be13856
......@@ -532,7 +532,7 @@ sum(case when t1.transporttype='空运' then t2.deliverycount else 0 end) as 'pr
count(DISTINCT case when t1.transporttype='空运' then t1.`code` else null end) as 'order_count_3'
from dc_base_transfer_info as t1
left join dc_base_transfer_info_skus as t2 on t1.dataid = t2.dataid
where t2.sku=@sku and t1.targetwareno=@targetwareno
where t2.sku=@sku and t1.targetwareno=@targetwareno and t1.transporttype in ('空运','海运')
", new {
sku= data.bailun_sku,
targetwareno = data.targetwareno
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment