Commit 58c639f7 by 泽锋 李

fix

parent fc7d7baa
......@@ -51,7 +51,8 @@ where 1 = 1
select t1.*,t3.sku_title_cn,
t2.history_sevenday_sales,
t2.history_fourteenday_sales,
t2.history_thirtyday_sales, ( case when t5.`status`=0 or t5.`status` is null then 0 else 1 end ) as 'monitor_status', t6.usable_stock from dc_auto_forecast_fluctuation as t1
t2.history_thirtyday_sales, ( case when t5.`status`=0 or t5.`status` is null then 0 else 1 end ) as 'monitor_status', t6.usable_stock,
t6.`character` from dc_auto_forecast_fluctuation as t1
inner JOIN dc_auto_turnover as t2 on t1.bailun_sku = t2.bailun_sku and t1.warehouse_code = t2.warehouse_code
left join dc_base_sku as t3 on t1.bailun_sku = t3.bailun_sku
left join dc_base_warehouse as dbw on t1.warehouse_code = dbw.warehouse_code
......
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