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
300a5cfd
Commit
300a5cfd
authored
Mar 01, 2023
by
lizefeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
5667dee2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
AmazonDataSynchroService.cs
AutoTurnOver.Services/AmazonDataSynchroService.cs
+2
-2
No files found.
AutoTurnOver.Services/AmazonDataSynchroService.cs
View file @
300a5cfd
...
...
@@ -231,7 +231,7 @@ namespace AutoTurnOver.Services
if
(
item
.
AmznSpDevAccountObj
!=
null
&&
item
.
AmznSpTokenObj
!=
null
)
{
var
task_name
=
$"SynchroAmazonFinancialEventGroups_v
3
_
{
item
.
Id
}
"
;
var
task_name
=
$"SynchroAmazonFinancialEventGroups_v
4
_
{
item
.
Id
}
"
;
// 查询最后一次成功抓取的记录
var
last_task_synchro_log
=
MyMySqlConnection
.
_connection
.
QuerySingleOrDefault
<
task_synchro_log
>(
" select * from task_synchro_log where task_name=@task_name and status=1 order by end_time desc limit 1 "
,
new
{
task_name
=
task_name
});
...
...
@@ -265,7 +265,7 @@ namespace AutoTurnOver.Services
dc_base_amazon_fee
transferFee
=
new
dc_base_amazon_fee
{
account
=
item
.
Account
,
date
=
new_task_synchro_log
.
start_time
.
AddHours
(-
8
),
// 没有时间,用当前时间代替
date
=
feeItem
.
FundTransferDate
==
null
?
new
DateTime
(
1991
,
1
,
1
)
:
feeItem
.
FundTransferDate
.
Value
,
AmazonOrderId
=
feeItem
.
FinancialEventGroupId
,
SellerOrderId
=
feeItem
.
TraceId
,
description
=
$"To account ending in:
{
feeItem
.
AccountTail
}
"
,
...
...
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