Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mall.oytour.com
Project
Project
Details
Activity
Releases
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
黄奎
mall.oytour.com
Commits
565657e6
Commit
565657e6
authored
Jun 12, 2025
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
391a9e7f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
FinanceModule.cs
Mall.WindowsService/Module/FinanceModule.cs
+10
-0
No files found.
Mall.WindowsService/Module/FinanceModule.cs
View file @
565657e6
...
...
@@ -390,6 +390,16 @@ and DATE_FORMAT(b.PaymentTime,'%y-%m-%d')<DATE_FORMAT('{endDate}','%y-%m-%d') A
OriginalFee
+=
Math
.
Round
(
totalPrice
,
2
,
MidpointRounding
.
AwayFromZero
);
}
//会存在 积分全额抵扣情况
if
(((
result
.
Sum
(
x
=>
x
.
FinanceType
==
1
?
(
x
.
Final_Price
??
0
)
:
(
x
.
FreightMoney
??
0
)))
-
OriginalFee
)
==
0
)
{
record
.
FinanceId
=
0
;
record
.
IsFinanceAll
=
0
;
financeRecordRepository
.
Insert
(
record
);
Helper
.
LogHelper
.
Write
(
"暂无数据"
);
return
false
;
}
var
detailList
=
result
.
Select
(
x
=>
new
{
CostTypeId
=
x
.
FinanceType
==
1
?
item
.
IncomeCostTypeId
:
(
x
.
FinanceType
==
2
?
item
.
FreightCostTypeId
:
item
.
InsuranceTypeId
),
...
...
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