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
49b40c0b
Commit
49b40c0b
authored
Jun 03, 2026
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
根据入账检核汇率更新应付2
parent
6e3a580a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/CommissionServiceImpl.java
+5
-4
No files found.
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/CommissionServiceImpl.java
View file @
49b40c0b
...
@@ -782,13 +782,14 @@ public class CommissionServiceImpl extends ServiceImpl<CommissionMapper, Commiss
...
@@ -782,13 +782,14 @@ public class CommissionServiceImpl extends ServiceImpl<CommissionMapper, Commiss
// 入账检核汇率 — 仅审计追溯,始终写入
// 入账检核汇率 — 仅审计追溯,始终写入
fortune
.
setExchangeRate
(
exchangeRate
);
fortune
.
setExchangeRate
(
exchangeRate
);
// 判断
commission.currency 是否为
HKD
// 判断
expectedFortune.originalCurrency 、入账币种-fortune.currency 是否都等于
HKD
Commission
matchedCommission
=
commissionByPolicyPeriod
.
get
(
key
);
Commission
matchedCommission
=
commissionByPolicyPeriod
.
get
(
key
);
boolean
isCommissionHkd
=
matchedCommission
!=
null
boolean
isAllHkd
=
matchedCommission
!=
null
&&
"HKD"
.
equalsIgnoreCase
(
expectedFortune
.
getOriginalCurrency
())
&&
"HKD"
.
equalsIgnoreCase
(
matchedCommission
.
getCurrency
());
&&
"HKD"
.
equalsIgnoreCase
(
matchedCommission
.
getCurrency
());
if
(
is
Commission
Hkd
)
{
if
(
is
All
Hkd
)
{
//
入账币种=
HKD 时,exchangeRate = 保单币种 → 港币,可安全使用
//
原币种 =
HKD 时,exchangeRate = 保单币种 → 港币,可安全使用
fortune
.
setOriginalToHkdRate
(
exchangeRate
);
fortune
.
setOriginalToHkdRate
(
exchangeRate
);
BigDecimal
hkdAmount
=
fortune
.
getRuleAmount
().
multiply
(
exchangeRate
);
BigDecimal
hkdAmount
=
fortune
.
getRuleAmount
().
multiply
(
exchangeRate
);
fortune
.
setHkdAmount
(
hkdAmount
);
fortune
.
setHkdAmount
(
hkdAmount
);
...
...
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