Commit 2b5703df by 泽锋 李

fix

parent 8ba92607
......@@ -2174,7 +2174,7 @@ truncate table dc_base_oms_sku_7_temp; ", new { time = DateTime.Now.AddDays(-8)
_connection.Execute(@"update dc_auto_jit_inventory as t1,
dc_auto_turnover as t2
set t1.safe_stock = t2.history_fourteenday_sales * 2,date = now()
where t1.bailun_sku =t2.bailun_sku and t1.warehouse_code =t2.warehouse_code and t1.`type`=1 ", commandTimeout: 0);
where t1.bailun_sku =t2.bailun_sku and t1.warehouse_code =t2.warehouse_code and t1.`type`=0 ", commandTimeout: 0);
}
//刷新上周的数据
public static void ResetLastweekData()
......
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