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
484c8ca5
Commit
484c8ca5
authored
Mar 16, 2023
by
lizefeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
0aec9ac8
Show 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 @
484c8ca5
...
...
@@ -46,7 +46,7 @@ namespace AutoTurnOver.Services
if
(
item
.
AmznSpDevAccountObj
!=
null
&&
item
.
AmznSpTokenObj
!=
null
)
{
var
task_name
=
$"SynchroAmazonFinancialEventGroups_v1
5
_
{
item
.
Id
}
"
;
var
task_name
=
$"SynchroAmazonFinancialEventGroups_v1
6
_
{
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
});
...
...
@@ -82,7 +82,7 @@ namespace AutoTurnOver.Services
dc_base_amazon_fee
transferFee
=
new
dc_base_amazon_fee
{
account
=
item
.
Account
,
date
=
feeItem
.
FundTransferDate
==
null
?
new
DateTime
(
1991
,
1
,
1
)
:
feeItem
.
FundTransferDate
.
Value
,
date
=
feeItem
.
FundTransferDate
==
null
?
feeItem
.
FinancialEventGroupStart
.
Value
:
feeItem
.
FundTransferDate
.
Value
,
start_date
=
(
feeItem
.
FinancialEventGroupStart
==
null
?
new
DateTime
(
1991
,
1
,
1
)
:
feeItem
.
FinancialEventGroupStart
.
Value
).
AddHours
(
8
),
AmazonOrderId
=
feeItem
.
FinancialEventGroupId
,
SellerOrderId
=
feeItem
.
TraceId
,
...
...
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