Commit 96d3abac by 泽锋 李

fix

parent a8c94ded
......@@ -93,6 +93,16 @@ namespace AutoTurnOver.Models.Report
public decimal? platform_fee { get; set; }
public int platform_category_id { get; set; }
/// <summary>
/// paypal费率
/// </summary>
public decimal? paypal_fee { get; set; }
/// <summary>
/// fba费率
/// </summary>
public decimal? fba_fee { get; set; }
}
......
......@@ -14,27 +14,13 @@ namespace ResetOutofstock
protected override Task ExecuteAsync(CancellationToken stoppingToken)
{
Task.Factory.StartNew(() =>
{
Console.WriteLine("开始刷新调拨单数据");
var now = DateTime.Now;
report_cash_flow_dao.CalculationTransferOrder(now.AddMonths(-3), DateTime.Parse(now.AddDays(-1).ToString("yyyy-MM-dd 23:59:59")));
Console.WriteLine("结束刷新调拨单数据");
});
Task.Factory.StartNew(() =>
{
Console.WriteLine("开始刷新ebay广告费数据");
var now = DateTime.Now;
report_cash_flow_dao.CalculationAdFeeEbay(now.AddMonths(-3), DateTime.Parse(now.AddDays(-1).ToString("yyyy-MM-dd 23:59:59")));
Console.WriteLine("结束刷新ebay广告费数据");
});
Task.Factory.StartNew(() =>
{
Console.WriteLine("开始刷新amazon广告费数据");
var now = DateTime.Now;
report_cash_flow_dao.CalculationAdFeeEbay(now.AddMonths(-3), DateTime.Parse(now.AddDays(-1).ToString("yyyy-MM-dd 23:59:59")));
report.ResetCashFlowData();
Console.WriteLine("结束刷新amazon广告费数据");
});
......
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