Commit 17b48173 by lizefeng

亚马逊仓储费,新增sku字段

parent dde3b10e
...@@ -16,6 +16,7 @@ namespace AutoTurnOver.Models ...@@ -16,6 +16,7 @@ namespace AutoTurnOver.Models
public DateTime report_end_date { get; set; } public DateTime report_end_date { get; set; }
public string account { get; set; } public string account { get; set; }
public string asin { get; set; } public string asin { get; set; }
public string sku { get; set; }
public string site { get; set; } public string site { get; set; }
public decimal fee { get; set; } public decimal fee { get; set; }
public decimal? exchange_cny { get; set; } public decimal? exchange_cny { get; set; }
......
...@@ -889,6 +889,7 @@ namespace AutoTurnOver.Services ...@@ -889,6 +889,7 @@ namespace AutoTurnOver.Services
fee_type = "月度仓储费", fee_type = "月度仓储费",
account = pamsAccount.Account, account = pamsAccount.Account,
asin = row.DataRowToString("asin"), asin = row.DataRowToString("asin"),
sku = row.DataRowToString("fnsku"),
report_end_date = ana_task.etime.Value report_end_date = ana_task.etime.Value
}; };
storageFee.fee = row.DataRowToNumber("estimated_monthly_storage_fee") ?? 0; storageFee.fee = row.DataRowToNumber("estimated_monthly_storage_fee") ?? 0;
...@@ -1012,6 +1013,7 @@ namespace AutoTurnOver.Services ...@@ -1012,6 +1013,7 @@ namespace AutoTurnOver.Services
fee_type = "超长仓储费", fee_type = "超长仓储费",
account = pamsAccount.Account, account = pamsAccount.Account,
asin = row.DataRowToString("asin"), asin = row.DataRowToString("asin"),
sku = row.DataRowToString("fnsku"),
report_end_date = reportData.DataEndTime ?? new DateTime(1991, 1, 1) report_end_date = reportData.DataEndTime ?? new DateTime(1991, 1, 1)
}; };
storageFee.fee = row.DataRowToNumber("estimated-ltsf-next-charge") ?? (row.DataRowToNumber("estimated-storage-cost-next-month") ??0); storageFee.fee = row.DataRowToNumber("estimated-ltsf-next-charge") ?? (row.DataRowToNumber("estimated-storage-cost-next-month") ??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