Commit e238e16e by 泽锋 李

停止shopify安全库存计算

parent 386ceaca
...@@ -4875,7 +4875,7 @@ where t1.paid_time>=@btime and t1.paid_time<=@etime "; ...@@ -4875,7 +4875,7 @@ where t1.paid_time>=@btime and t1.paid_time<=@etime ";
} }
/// <summary> /// <summary>
/// 计算shopify 的安全库存 /// 计算shopify 的安全库存 (停用)
/// </summary> /// </summary>
public static void ShopifyJitInventory() public static void ShopifyJitInventory()
{ {
......
...@@ -437,7 +437,7 @@ namespace ResetOutofstock ...@@ -437,7 +437,7 @@ namespace ResetOutofstock
{ {
Console.WriteLine($"开始 计算Shopify的备货数量,线程Id:{Thread.CurrentThread.ManagedThreadId}{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}"); Console.WriteLine($"开始 计算Shopify的备货数量,线程Id:{Thread.CurrentThread.ManagedThreadId}{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}");
report.ClearShopifyJitInventory(); report.ClearShopifyJitInventory();
report.ShopifyJitInventory(); //report.ShopifyJitInventory();
Console.WriteLine($"结束 计算Shopify的备货数量,线程Id:{Thread.CurrentThread.ManagedThreadId}{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}"); Console.WriteLine($"结束 计算Shopify的备货数量,线程Id:{Thread.CurrentThread.ManagedThreadId}{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}");
Thread.Sleep(60 * 60 * 1000); Thread.Sleep(60 * 60 * 1000);
} }
......
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