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
85895940
Commit
85895940
authored
Mar 25, 2026
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
来佣规格匹配
parent
a5007ff4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
+8
-1
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/CommissionExpectedServiceImpl.java
+8
-1
No files found.
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/CommissionExpectedServiceImpl.java
View file @
85895940
...
...
@@ -822,7 +822,7 @@ public class CommissionExpectedServiceImpl extends ServiceImpl<CommissionExpecte
map
.
put
(
"PAYMENT_TERM"
,
policy
.
getPaymentTerm
()
!=
null
?
String
.
valueOf
(
policy
.
getPaymentTerm
())
:
null
);
map
.
put
(
"RECONCILIATION_COMPANY"
,
policy
.
getReconciliationCompanyBizId
());
map
.
put
(
"AGE"
,
policy
.
getPolicyHolderAge
());
map
.
put
(
"PREMIUM"
,
policy
.
getPaymentPremium
(
));
map
.
put
(
"PREMIUM"
,
calculateInitialPremiumInHkd
(
policy
.
getPaymentPremium
(),
policy
.
getCurrency
()
));
map
.
put
(
"PROFESSIONAL"
,
professionalInvestor
);
map
.
put
(
"POLICY_CURRENCY"
,
policy
.
getCurrency
());
map
.
put
(
"GUARANTEE_PERIOD"
,
policy
.
getGuaranteePeriod
());
...
...
@@ -830,6 +830,13 @@ public class CommissionExpectedServiceImpl extends ServiceImpl<CommissionExpecte
return
map
;
}
// 匹配来佣规格 - 计算期交保费港币金额
private
BigDecimal
calculateInitialPremiumInHkd
(
BigDecimal
paymentPremium
,
String
policyCurrency
)
{
// 查汇率
BigDecimal
exchangeRate
=
queryExchangeRateByFeign
(
policyCurrency
,
"HKD"
);
return
paymentPremium
.
multiply
(
exchangeRate
);
}
/**
* 根据species条件过滤列表
*/
...
...
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