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
6ce5a8bf
Commit
6ce5a8bf
authored
May 19, 2026
by
zhangxingmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
1025f34b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiExpectedFortuneServiceImpl.java
+7
-5
No files found.
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiExpectedFortuneServiceImpl.java
View file @
6ce5a8bf
...
@@ -768,6 +768,7 @@ public class ApiExpectedFortuneServiceImpl implements ApiExpectedFortuneService
...
@@ -768,6 +768,7 @@ public class ApiExpectedFortuneServiceImpl implements ApiExpectedFortuneService
.
productLaunchBizId
(
brokerDto
.
getPlanBizId
())
.
productLaunchBizId
(
brokerDto
.
getPlanBizId
())
//保险公司业务id
//保险公司业务id
.
insuranceCompanyBizId
(
brokerDto
.
getInsuranceCompanyBizId
())
.
insuranceCompanyBizId
(
brokerDto
.
getInsuranceCompanyBizId
())
.
brokerRatio
(
dto
.
getBrokerRatio
())
.
source
(
2
)
.
source
(
2
)
.
build
());
.
build
());
...
@@ -844,6 +845,7 @@ public class ApiExpectedFortuneServiceImpl implements ApiExpectedFortuneService
...
@@ -844,6 +845,7 @@ public class ApiExpectedFortuneServiceImpl implements ApiExpectedFortuneService
.
productLaunchBizId
(
brokerDto
.
getPlanBizId
())
.
productLaunchBizId
(
brokerDto
.
getPlanBizId
())
//保险公司业务id
//保险公司业务id
.
insuranceCompanyBizId
(
brokerDto
.
getInsuranceCompanyBizId
())
.
insuranceCompanyBizId
(
brokerDto
.
getInsuranceCompanyBizId
())
.
brokerRatio
(
dto
.
getBrokerRatio
())
.
source
(
1
)
.
source
(
1
)
.
build
());
.
build
());
...
@@ -869,10 +871,10 @@ public class ApiExpectedFortuneServiceImpl implements ApiExpectedFortuneService
...
@@ -869,10 +871,10 @@ public class ApiExpectedFortuneServiceImpl implements ApiExpectedFortuneService
continue
;
continue
;
}
}
log
.
info
(
"生成保单预计发佣表记录——>入参algorithmResDto:{}"
,
JSON
.
toJSONString
(
algorithmResDto
));
log
.
info
(
"生成保单预计发佣表记录——>入参algorithmResDto:{}"
,
JSON
.
toJSONString
(
algorithmResDto
));
PolicyBroker
policyBroker
=
policyBrokerService
.
queryOne
(
QueryPolicyBrokerDto
.
builder
()
//
PolicyBroker policyBroker = policyBrokerService.queryOne(QueryPolicyBrokerDto.builder()
.
policyNo
(
fortuneDto
.
getPolicyNo
())
//
.policyNo(fortuneDto.getPolicyNo())
.
brokerBizId
(
fortuneDto
.
getBrokerBizId
())
//
.brokerBizId(fortuneDto.getBrokerBizId())
.
build
());
//
.build());
ExpectedFortune
fortune
=
new
ExpectedFortune
();
ExpectedFortune
fortune
=
new
ExpectedFortune
();
//发佣金额 -> 计算值 - sqlAlgorithmResultDtoList集合里面的计算值和值
//发佣金额 -> 计算值 - sqlAlgorithmResultDtoList集合里面的计算值和值
// fortune.setAmount(algorithmResDto.getCalculatedValue());
// fortune.setAmount(algorithmResDto.getCalculatedValue());
...
@@ -916,7 +918,7 @@ public class ApiExpectedFortuneServiceImpl implements ApiExpectedFortuneService
...
@@ -916,7 +918,7 @@ public class ApiExpectedFortuneServiceImpl implements ApiExpectedFortuneService
fortune
.
setStandardAmount
(
standardAmount
);
fortune
.
setStandardAmount
(
standardAmount
);
// 转介人介绍费占比
// 转介人介绍费占比
String
brokerRatioStr
=
!
Objects
.
isNull
(
policyBroker
)
?
policyBroker
.
getBrokerRatio
()
:
"100"
;
String
brokerRatioStr
=
!
Objects
.
isNull
(
fortuneDto
.
getBrokerRatio
())
?
fortuneDto
.
getBrokerRatio
()
:
"100"
;
fortune
.
setBrokerRatio
(
brokerRatioStr
);
fortune
.
setBrokerRatio
(
brokerRatioStr
);
try
{
try
{
...
...
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