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
d9792849
Commit
d9792849
authored
May 11, 2023
by
lizefeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
2e393080
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
dc_profit_business_amazon_storage_fee.cs
AutoTurnOver.Models/dc_profit_business_amazon_storage_fee.cs
+1
-0
AmazonDataSynchroService.cs
AutoTurnOver.Services/AmazonDataSynchroService.cs
+5
-0
No files found.
AutoTurnOver.Models/dc_profit_business_amazon_storage_fee.cs
View file @
d9792849
...
...
@@ -11,6 +11,7 @@ namespace AutoTurnOver.Models
public
DateTime
_create_date
{
get
;
set
;
}
public
DateTime
_update_date
{
get
;
set
;
}
public
string
_project
{
get
;
set
;
}
public
string
business_user
{
get
;
set
;
}
public
int
_is_delete
{
get
;
set
;
}
public
DateTime
_date
{
get
;
set
;
}
public
DateTime
report_end_date
{
get
;
set
;
}
...
...
AutoTurnOver.Services/AmazonDataSynchroService.cs
View file @
d9792849
...
...
@@ -913,6 +913,7 @@ namespace AutoTurnOver.Services
if
(
oldData
.
report_end_date
<
storageFee
.
report_end_date
)
{
storageFee
.
_project
=
oldData
.
_project
;
storageFee
.
business_user
=
oldData
.
business_user
;
storageFee
.
exchange_cny
=
oldData
.
exchange_cny
;
storageFee
.
id
=
oldData
.
id
;
MyMySqlConnection
.
_connection
.
Update
(
storageFee
);
...
...
@@ -1059,6 +1060,7 @@ namespace AutoTurnOver.Services
if
(
oldData
!=
null
)
{
storageFee
.
_project
=
oldData
.
_project
;
storageFee
.
business_user
=
oldData
.
business_user
;
storageFee
.
exchange_cny
=
oldData
.
exchange_cny
;
storageFee
.
id
=
oldData
.
id
;
MyMySqlConnection
.
_connection
.
Update
(
storageFee
);
...
...
@@ -1180,6 +1182,9 @@ namespace AutoTurnOver.Services
// 多份报表都出现同一份数据。已报表实际较晚的为准
if
(
oldData
.
report_end_date
<=
storageFee
.
report_end_date
)
{
storageFee
.
_project
=
oldData
.
_project
;
storageFee
.
business_user
=
oldData
.
business_user
;
storageFee
.
exchange_cny
=
oldData
.
exchange_cny
;
storageFee
.
id
=
oldData
.
id
;
MyMySqlConnection
.
_connection
.
Update
(
storageFee
);
}
...
...
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