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
8c94081a
Commit
8c94081a
authored
Apr 29, 2026
by
zhangxingmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
09d1973e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/CommissionExpectedServiceImpl.java
+3
-2
No files found.
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/CommissionExpectedServiceImpl.java
View file @
8c94081a
...
...
@@ -244,7 +244,7 @@ public class CommissionExpectedServiceImpl extends ServiceImpl<CommissionExpecte
vo
.
setCommissionDateMonth
(
expected
.
getCommissionDate
());
vo
.
setType
(
1
);
vo
.
setNo
(
StringUtils
.
isNotBlank
(
expected
.
getReceivableNo
())
?
expected
.
getReceivableNo
()
:
expected
.
getCommissionExpectedBizId
());
vo
.
setCommissionDate
(
null
);
// 填充保单信息
Policy
policy
=
policyMap
.
get
(
expected
.
getPolicyNo
());
if
(
policy
!=
null
)
{
...
...
@@ -287,7 +287,8 @@ public class CommissionExpectedServiceImpl extends ServiceImpl<CommissionExpecte
//计算累积已入账比例 = 总实佣率/产品对应来佣率
BigDecimal
totalRevenueRatio
=
paidRatio
.
divide
(
commissionRatio
,
4
,
RoundingMode
.
HALF_UP
);
vo
.
setTotalRevenueRatio
(
totalRevenueRatio
);
vo
.
setTotalRevenueRatio
(
totalRevenueRatio
.
multiply
(
BigDecimal
.
valueOf
(
100
))
.
setScale
(
2
,
RoundingMode
.
HALF_UP
));
// 待入账金额(已实现归零逻辑)
if
(
commissionRatio
!=
null
&&
paidRatio
.
compareTo
(
commissionRatio
)
>=
0
)
{
...
...
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