Commit d11ac851 by 泽锋 李

fix

parent bad296c7
......@@ -22,7 +22,7 @@ namespace AutoGeneratePurchaseAdvise
try
{
//PurchaseAdviseServices.AutoPushBuySys(4) ;
//PurchaseAdviseServices.Generate($"早上的全量周转 {DateTime.Now.ToString("HH: mm")}", DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd 00:00:00")), is_clear_data: true);
PurchaseAdviseServices.Generate($"早上的全量周转 {DateTime.Now.ToString("HH: mm")}", DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd 00:00:00")), is_clear_data: true);
//PurchaseAdviseServices.Generate($"下午的补充周转 {DateTime.Now.ToString("HH: mm")}", DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd 12:00:00")));
}
catch (Exception ex)
......
......@@ -513,7 +513,8 @@ t1.first_order_bailun_order_id as 'first_order_bailun_order_id',
t1.daily_weighted_sales as 'fixed_daily_weighted_sales',
t1.quantity_out_stock as 'fixed_quantity_out_stock',
t10.area_id as 'area_id',
t10.hq_type as 'w_hq_type'
t10.hq_type as 'w_hq_type',
t11.orders_7
from (select * from dc_auto_turnover where gmt_modified>=@btime ) as t1
left join dc_auto_sales as t2 on t1.bailun_sku = t2.bailun_sku and t1.warehouse_code = t2.warehouse_code
left join dc_auto_config_sku_warehouse as t5 on t1.bailun_sku = t5.bailun_sku and t1.warehouse_code = t5.warehouse_code
......@@ -523,6 +524,7 @@ t10.hq_type as 'w_hq_type'
left join dc_auto_replace_logistics_task as tr_task on t1.auto_replace_logistics_task_id = tr_task.id
left join dc_mid_transit as t9 on t1.bailun_sku = t9.bailun_sku and t1.warehouse_code = t9.warehouse_code
left join dc_base_warehouse t10 on t1.warehouse_code = t10.warehouse_code
left join dc_base_stock t11 on t1.warehouse_code = t11.warehouse_code t1.bailun_sku = t11.bailun_sku and
where 1=1
and ( (
t6.`status`=2
......
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