Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-csf
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xingmin
yd-csf
Commits
29f92f1e
Commit
29f92f1e
authored
Apr 23, 2026
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增出账
parent
ec412660
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/FortuneServiceImpl.java
+0
-7
No files found.
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/FortuneServiceImpl.java
View file @
29f92f1e
...
@@ -782,13 +782,6 @@ public class FortuneServiceImpl extends ServiceImpl<FortuneMapper, Fortune>
...
@@ -782,13 +782,6 @@ public class FortuneServiceImpl extends ServiceImpl<FortuneMapper, Fortune>
updateObj
.
setUnpaidAmount
(
hkdAmount
.
add
(
expectedFortune
.
getUnpaidAmount
()));
updateObj
.
setUnpaidAmount
(
hkdAmount
.
add
(
expectedFortune
.
getUnpaidAmount
()));
updateObj
.
setUnpaidRatio
(
updateObj
.
getUnpaidAmount
().
divide
(
updateObj
.
getHkdAmount
(),
4
,
RoundingMode
.
HALF_UP
));
updateObj
.
setUnpaidRatio
(
updateObj
.
getUnpaidAmount
().
divide
(
updateObj
.
getHkdAmount
(),
4
,
RoundingMode
.
HALF_UP
));
// 根据预计出账币种计算 expectedFortune.getAmount() 字段
BigDecimal
originalAmount
=
fortune
.
getAmount
();
// 原始币种金额
BigDecimal
exchangeRate
=
queryExchangeRateByFeign
(
currency
,
expectedFortune
.
getCurrency
());
BigDecimal
amount
=
originalAmount
.
multiply
(
exchangeRate
);
// 本次新增出账金额
updateObj
.
setAmount
(
amount
.
add
(
expectedFortune
.
getAmount
()));
expectedFortuneUpdateList
.
add
(
updateObj
);
expectedFortuneUpdateList
.
add
(
updateObj
);
}
}
...
...
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