Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
data-center-auto
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bltdc
data-center-auto
Commits
ad006a35
Commit
ad006a35
authored
Mar 03, 2023
by
lizefeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
43e86cec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
AmazonDataSynchroService.cs
AutoTurnOver.Services/AmazonDataSynchroService.cs
+3
-2
No files found.
AutoTurnOver.Services/AmazonDataSynchroService.cs
View file @
ad006a35
...
...
@@ -224,7 +224,7 @@ namespace AutoTurnOver.Services
{
// 拉取亚马逊账号
var
amazonAccounts
=
ApiServices
.
GetAmazonAccountList
();
//amazonAccounts = amazonAccounts.Where(s => s.Account == "N
atural Daisy Encens" &&
s.SiteEn=="UK").ToList();
//amazonAccounts = amazonAccounts.Where(s => s.Account == "N
inezkeji" &&
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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment