Commit 784a5adc by 泽锋 李

库存查询,新增在途库存

parent af39097d
......@@ -203,9 +203,12 @@ t1.shipped_stock,
t2.area_name,
t2.warehouse_name,
t1.warehouse_code,
t1.gmt_modified
t1.gmt_modified,
ifnull(t3.quantity_transfer,0) as 'quantity_transfer',
ifnull(t3.quantity_purchase,0) as 'quantity_purchase'
from dc_base_stock as t1
left join dc_base_warehouse as t2 on t1.warehouse_code = t2.warehouse_code
left join dc_mid_transit as t3 on t1.bailun_sku = t3.bailun_sku and t1.warehouse_code = t3.warehouse_code
where t1.warehouse_code in ('US4PXBL','AU4PXBL','GZBLLM') and t1.bailun_sku in @skus ";
DynamicParameters parameters = new DynamicParameters();
parameters.Add("skus", search.skus);
......
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