Commit ad006a35 by lizefeng

fix

parent 43e86cec
......@@ -224,7 +224,7 @@ namespace AutoTurnOver.Services
{
// 拉取亚马逊账号
var amazonAccounts = ApiServices.GetAmazonAccountList();
//amazonAccounts = amazonAccounts.Where(s => s.Account == "Natural Daisy Encens" &&s.SiteEn=="UK").ToList();
//amazonAccounts = amazonAccounts.Where(s => s.Account == "Ninezkeji" && s.SiteEn=="UK").ToList();
foreach (var item in amazonAccounts)
{
try
......@@ -260,7 +260,7 @@ namespace AutoTurnOver.Services
var now = DateTime.Now;
var fees = GetFinancialEventGroups(item, new_task_synchro_log.start_time, new_task_synchro_log.end_time);
var json = fees.ToJson();
//var json = fees.ToJson();
foreach (var feeItem in fees.Where(s => s.FundTransferStatus == "Succeeded"))
{
......@@ -273,6 +273,7 @@ namespace AutoTurnOver.Services
start_date = feeItem.FinancialEventGroupStart == null ? new DateTime(1991, 1, 1) : feeItem.FinancialEventGroupStart.Value,
AmazonOrderId = feeItem.FinancialEventGroupId,
SellerOrderId = feeItem.TraceId,
settlement_id="-",
description = $"To account ending in: {feeItem.AccountTail}",
type = "Transfer", // 提现
total = (decimal)feeItem.BeginningBalance.CurrencyAmount - (decimal)feeItem.OriginalTotal.CurrencyAmount ,
......
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