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
6bd3b151
Commit
6bd3b151
authored
Mar 06, 2026
by
zhangxingmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
6e03d4f7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiExpectedFortuneServiceImpl.java
+4
-0
No files found.
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiExpectedFortuneServiceImpl.java
View file @
6bd3b151
...
...
@@ -401,9 +401,11 @@ public class ApiExpectedFortuneServiceImpl implements ApiExpectedFortuneService
}
}
log
.
info
(
"异步调用-销售佣金-保存预计发佣数据,{}"
,
JSON
.
toJSONString
(
billingResponses
));
// 异步调用-销售佣金-保存预计发佣数据
CompletableFuture
<
Void
>
future1
=
CompletableFuture
.
runAsync
(
()
->
self
.
generateExpectedFortuneBilling
(
billingResponses
),
asyncExecutor
);
log
.
info
(
"异步调用-奖励佣金-保存预计发佣数据,{}"
,
JSON
.
toJSONString
(
rewardResponses
));
//异步调用-奖励佣金-保存预计发佣数据
CompletableFuture
<
Void
>
future2
=
CompletableFuture
.
runAsync
(
()
->
self
.
generateExpectedFortuneReward
(
rewardResponses
),
asyncExecutor
);
...
...
@@ -446,6 +448,7 @@ public class ApiExpectedFortuneServiceImpl implements ApiExpectedFortuneService
*/
@Transactional
(
propagation
=
Propagation
.
REQUIRES_NEW
)
public
void
generateExpectedFortuneBilling
(
List
<
ApiExecuteBillingResponse
>
billingResponses
)
{
log
.
info
(
"异步调用-销售佣金-保存预计发佣数据执行,{}"
,
JSON
.
toJSONString
(
billingResponses
));
for
(
ApiExecuteBillingResponse
response
:
billingResponses
)
{
ExecuteBillingDto
dto
=
response
.
getDto
();
QueryPolicyAndBrokerDto
brokerDto
=
dto
.
getPolicyAndBrokerDto
();
...
...
@@ -489,6 +492,7 @@ public class ApiExpectedFortuneServiceImpl implements ApiExpectedFortuneService
*/
@Transactional
(
propagation
=
Propagation
.
REQUIRES_NEW
)
public
void
generateExpectedFortuneReward
(
List
<
ApiExecuteRewardResponse
>
rewardResponses
)
{
log
.
info
(
"异步-奖励佣金-保存预计发佣数据执行,{}"
,
JSON
.
toJSONString
(
rewardResponses
));
for
(
ApiExecuteRewardResponse
response
:
rewardResponses
)
{
List
<
AlgorithmResDto
>
algorithmResDtoList
=
response
.
getAlgorithmResDtoList
();
ExecuteBillingDto
dto
=
response
.
getDto
();
...
...
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