Commit 26ab524f by guotao

fba 实时库存数据,记录账号id

parent f45472a0
......@@ -20,6 +20,7 @@ namespace AutoTurnOver.Models
public string data_id { get; set; }
public DateTime last_update_date { get; set; }
public string account { get; set; }
public int account_id { get; set; }
public string site { get; set; }
public string marketplaceId { get; set; }
}
......@@ -39,6 +40,7 @@ namespace AutoTurnOver.Models
public string data_id { get; set; }
public DateTime last_update_date { get; set; }
public string account { get; set; }
public int account_id { get; set; }
public string site { get; set; }
public string marketplaceId { get; set; }
}
......
......@@ -1459,6 +1459,7 @@ namespace AutoTurnOver.Services
asin = row.DataRowToString("asin"),
condition_type = row.DataRowToString("condition-type"),
account = pamsAccount.Account,
account_id = pamsAccount.Id,
marketplaceId = reportData.MarketplaceIds[0],
last_update_date = DateTime.Now,
quantity_available = row.DataRowToNumber("Quantity Available") ?? 0,
......@@ -1574,6 +1575,7 @@ namespace AutoTurnOver.Services
asin = row.DataRowToString("asin"),
condition_type = row.DataRowToString("condition-type"),
account = pamsAccount.Account,
account_id = pamsAccount.Id,
marketplaceId = reportData.MarketplaceIds[0],
last_update_date = DateTime.Now,
quantity_for_local_fulfillment = row.DataRowToNumber("quantity-for-local-fulfillment") ?? 0,
......
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