Commit 0ce30902 by 泽锋 李

默认空运的不需要切换物流

parent 315f7968
......@@ -239,8 +239,9 @@ t1.quantity
from dc_auto_forecast_fluctuation as t1
left join dc_base_warehouse as t2 on t1.warehouse_code =t2.warehouse_code
left join dc_auto_turnover as t3 on t1.warehouse_code =t3.warehouse_code and t1.bailun_sku = t3.bailun_sku
left join dc_base_head_transport_config as t4 on t1.bailun_sku = t4.bailun_sku and t1.warehouse_code = t4.warehouse_code
where t1.type=2 and t2.hq_type in ('第三方仓库','FBA仓') and t1.start_time>=now() and t1.start_time<=DATE_ADD(now(),INTERVAL t3.turnover_days day)
and t1.gmt_modified>=@btime
and t1.gmt_modified>=@btime and ifnull(t4.head_transport,'')!='空运'
";
DynamicParameters parameters = new DynamicParameters();
parameters.Add("btime", date);
......
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