Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DataCenter_Core2.1_20190520
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
DataCenter_Core2.1_20190520
Commits
736f0e40
Commit
736f0e40
authored
Nov 01, 2021
by
wish_lf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复BUG:管理成本合计
parent
3354b3c4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
FinanceService.cs
Bailun.DC.Services/WebApiService/FinanceService.cs
+3
-3
No files found.
Bailun.DC.Services/WebApiService/FinanceService.cs
View file @
736f0e40
...
@@ -1541,16 +1541,16 @@ t1.exchange_rate AS ExchangeRate,t1.amountval_rmb AS AmountValRmb,t1.month AS Mo
...
@@ -1541,16 +1541,16 @@ t1.exchange_rate AS ExchangeRate,t1.amountval_rmb AS AmountValRmb,t1.month AS Mo
sumRmb
=
y
.
Sum
(
s
=>
s
.
AmountValRmb
),
sumRmb
=
y
.
Sum
(
s
=>
s
.
AmountValRmb
),
}).
ToList
();
}).
ToList
();
var
sum
=
group
.
Sum
(
x
=>
x
.
sumRmb
);
var
sum
=
group
.
Sum
(
x
=>
x
.
sumRmb
);
var
groupMx
=
group
.
Where
(
x
=>
x
.
platform
==
"亚马逊"
&&
x
.
site
.
ToLower
()
==
"mx"
&&
x
.
sumRmb
<
0
).
Select
(
x
=>
x
.
sumRmb
).
FirstOrDefault
();
var
groupMx
=
group
.
Where
(
x
=>
x
.
platform
==
"亚马逊"
&&
x
.
site
.
ToLower
()
==
"mx"
&&
x
.
sumRmb
<
0
).
Select
(
x
=>
x
.
sumRmb
).
FirstOrDefault
()
??
0
;
oldData
.
incoming_non_operating
=
Math
.
Round
(
sum
.
Value
-
groupMx
.
Value
,
2
);
oldData
.
incoming_non_operating
=
Math
.
Round
(
sum
.
Value
-
groupMx
,
2
);
//oldData.incoming_non_operating = Math.Round(SyncMonthProfitFeePlatformFeeSummary(
//oldData.incoming_non_operating = Math.Round(SyncMonthProfitFeePlatformFeeSummary(
// new GetMonthProfitPlatformDetailInput { Month = time, FeeName = "营业外收入" }), 2);
// new GetMonthProfitPlatformDetailInput { Month = time, FeeName = "营业外收入" }), 2);
//减:营业外支出
//减:营业外支出
oldData
.
pay_non_operating
=
Math
.
Abs
(
Math
.
Round
((
SyncMonthProfitFeePlatformFeeSummary
(
oldData
.
pay_non_operating
=
Math
.
Abs
(
Math
.
Round
((
SyncMonthProfitFeePlatformFeeSummary
(
new
GetMonthProfitPlatformDetailInput
{
Month
=
time
,
FeeName
=
"营业外支出"
})
+
Math
.
Abs
(
groupMx
.
Value
)),
2
))
*
(-
1
);
new
GetMonthProfitPlatformDetailInput
{
Month
=
time
,
FeeName
=
"营业外支出"
})
+
Math
.
Abs
(
groupMx
)),
2
))
*
(-
1
);
//销售费用-税金
//销售费用-税金
...
...
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