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
77e967b4
Commit
77e967b4
authored
Aug 16, 2023
by
lizefeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
1970fdee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
AmazonDataSynchroService.cs
AutoTurnOver.Services/AmazonDataSynchroService.cs
+2
-1
No files found.
AutoTurnOver.Services/AmazonDataSynchroService.cs
View file @
77e967b4
...
...
@@ -655,7 +655,8 @@ namespace AutoTurnOver.Services
// 计算实际放款
var
realityTransfer
=
netIncome
.
ToJson
().
ToObj
<
dc_base_amazon_fee
>();
var
yuliu
=
Math
.
Max
(
0
M
,
feeDatas
.
FirstOrDefault
(
s
=>
s
.
type_cn
==
"预留金额"
)?.
total
??
0
);
realityTransfer
.
total
=
Math
.
Max
(
0
,
netIncome
.
total
-
yuliu
);
realityTransfer
.
total
=
0
-
Math
.
Max
(
0
,
netIncome
.
total
-
yuliu
);
realityTransfer
.
other
=
realityTransfer
.
total
;
realityTransfer
.
type
=
"Transfer"
;
realityTransfer
.
type_cn
=
"放款"
;
realityTransfer
.
description
=
$"结算表
{
settlementDbData
.
settlement_id
}
, 净收入
{
netIncome
.
total
}
- 预留金额(负数取0)
{
yuliu
}
"
;
...
...
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