Commit 28af593a by lizefeng

fix

parent 412b7306
......@@ -11,6 +11,7 @@ namespace AutoTurnOver.Models
public string site_code { get; set; }
public string report_type { get; set; }
public string report_par_json { get; set; }
public int pams_account_id { get; set; }
/// <summary>
......
......@@ -855,6 +855,7 @@ namespace AutoTurnOver.Services
ana_task.ana_status = -2;
ana_task.ana_error = reportData.ProcessingStatus.ToString() ;
ana_task.report_par_json = reportData.ToJson() ;
MyMySqlConnection._connection.Update(ana_task);
return;
}
......@@ -890,6 +891,7 @@ namespace AutoTurnOver.Services
fulfillment_center = row.DataRowToString("fulfillment_center"),
fee_type = "月度仓储费",
account = pamsAccount.Account,
report_id = ana_task.report_id,
asin = row.DataRowToString("asin"),
sku = row.DataRowToString("fnsku"),
report_end_date = ana_task.etime.Value
......@@ -1013,6 +1015,7 @@ namespace AutoTurnOver.Services
fulfillment_center = row.DataRowToString("marketplace"),
site = row.DataRowToString("marketplace"),
fee_type = "超长仓储费",
report_id = ana_task.report_id,
account = pamsAccount.Account,
asin = row.DataRowToString("asin"),
sku = row.DataRowToString("fnsku"),
......@@ -1131,6 +1134,7 @@ namespace AutoTurnOver.Services
currency = row.DataRowToString("currency_code"),
fulfillment_center = row.DataRowToString("currency_code"),
fee_type = "超量仓储费",
report_id = ana_task.report_id,
account = pamsAccount.Account,
asin = "OverageStorageFee",
report_end_date = reportData.DataEndTime ?? new DateTime(1991, 1, 1)
......
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