Commit 4a31ba63 by 泽锋 李

fix

parent bc880a41
...@@ -1364,11 +1364,11 @@ sales_reset_date = now() ...@@ -1364,11 +1364,11 @@ sales_reset_date = now()
where id=@id where id=@id
", new ", new
{ {
amount_sales_usd_month_1 = tempData.amount_sales_usd_month_1, amount_sales_usd_month_1 = tempMonthData.amount_sales_usd_month_1,
bailun_sku_quantity_ordered_month_1 = tempData.bailun_sku_quantity_ordered_month_1, bailun_sku_quantity_ordered_month_1 = tempMonthData.bailun_sku_quantity_ordered_month_1,
amount_sales_usd_month_2 = tempData.amount_sales_usd_month_2, amount_sales_usd_month_2 = tempMonthData.amount_sales_usd_month_2,
bailun_sku_quantity_ordered_month_2 = tempData.bailun_sku_quantity_ordered_month_2, bailun_sku_quantity_ordered_month_2 = tempMonthData.bailun_sku_quantity_ordered_month_2,
amount_sales_usd_30 = tempData.amount_sales_usd_30, amount_sales_usd_30 = tempMonthData.amount_sales_usd_30,
id = item.id id = item.id
}); });
} }
......
...@@ -28,7 +28,8 @@ namespace ResetOutofstock ...@@ -28,7 +28,8 @@ namespace ResetOutofstock
//dc_base_transfer_freight_dao.CalculationSingle("946549801", "GB4PXBL"); //dc_base_transfer_freight_dao.CalculationSingle("946549801", "GB4PXBL");
//dc_base_transfer_freight_dao.Init(); //dc_base_transfer_freight_dao.Init();
//daily.ResetFbaExtendSales(DateTime.Now);
} }
catch (Exception ex) catch (Exception ex)
{ {
......
...@@ -19,14 +19,14 @@ namespace ResetOutofstock ...@@ -19,14 +19,14 @@ namespace ResetOutofstock
{ {
try try
{ {
Console.WriteLine($"init 开始 ,线程Id:{Thread.CurrentThread.ManagedThreadId}{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}"); Console.WriteLine($"fba 1/2 月销量 开始 ,线程Id:{Thread.CurrentThread.ManagedThreadId}{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}");
daily.ResetFbaExtendSales(DateTime.Now); daily.ResetFbaExtendSales(DateTime.Now);
Console.WriteLine($"init 结束,线程Id:{Thread.CurrentThread.ManagedThreadId}{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}"); Console.WriteLine($"fba 1/2 月销量 结束,线程Id:{Thread.CurrentThread.ManagedThreadId}{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}");
} }
catch (Exception ex) catch (Exception ex)
{ {
Console.WriteLine(ex.Message); Console.WriteLine(" fba 1/2 月销量 异常 :"+ex.Message);
Console.WriteLine(ex.StackTrace); Console.WriteLine(" fba 1/2 月销量 异常: " +ex.StackTrace);
} }
}); });
......
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