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
26007ac7
Commit
26007ac7
authored
Apr 25, 2023
by
lizefeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
0e8271c9
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 @
26007ac7
...
...
@@ -963,7 +963,7 @@ namespace AutoTurnOver.Services
ana_task
.
content
=
jsonText
;
var
table
=
CsvFileHelper
.
ReadFromCSV
(
reportData
.
ReportDocumentId
,
true
,
'\t'
);
if
(
table
.
Columns
.
Contains
(
"estimated-ltsf-next-charge"
))
if
(
table
.
Columns
.
Contains
(
"estimated-ltsf-next-charge"
)
||
table
.
Columns
.
Contains
(
"estimated-storage-cost-next-month"
)
)
{
foreach
(
DataRow
row
in
table
.
Rows
)
{
...
...
@@ -980,7 +980,7 @@ namespace AutoTurnOver.Services
asin
=
row
.
DataRowToString
(
"asin"
),
report_end_date
=
reportData
.
DataEndTime
??
new
DateTime
(
1991
,
1
,
1
)
};
storageFee
.
fee
=
row
.
DataRowToNumber
(
"estimated-ltsf-next-charge"
)
??
0
;
storageFee
.
fee
=
row
.
DataRowToNumber
(
"estimated-ltsf-next-charge"
)
??
(
row
.
DataRowToNumber
(
"estimated-storage-cost-next-month"
)
??
0
)
;
storageFee
.
_date
=
reportData
.
DataStartTime
.
Value
.
ToDayHome
();
//storageFee.site = row.DataRowToString("country_code");
if
(
"GB"
.
Equals
(
storageFee
.
site
,
StringComparison
.
CurrentCultureIgnoreCase
))
...
...
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