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
741c8558
Commit
741c8558
authored
Apr 22, 2026
by
zhangxingmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
4e64db6c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
yd-csf-api/src/main/java/com/yd/csf/api/async/ApiExpectedFortuneAsyncService.java
+1
-0
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiExpectedFortuneServiceImpl.java
+2
-0
No files found.
yd-csf-api/src/main/java/com/yd/csf/api/async/ApiExpectedFortuneAsyncService.java
View file @
741c8558
...
@@ -86,6 +86,7 @@ public class ApiExpectedFortuneAsyncService {
...
@@ -86,6 +86,7 @@ public class ApiExpectedFortuneAsyncService {
@Async
(
"commonAsyncExecutor"
)
@Async
(
"commonAsyncExecutor"
)
public
void
buildCalmDateTask
(
List
<
AlgorithmCollectResDto
>
collectResDtos
,
String
policyNo
,
BigDecimal
exchangeRate
)
{
public
void
buildCalmDateTask
(
List
<
AlgorithmCollectResDto
>
collectResDtos
,
String
policyNo
,
BigDecimal
exchangeRate
)
{
log
.
info
(
"buildCalmDateTask=>汇率exchangeRate,{}"
,
exchangeRate
);
if
(
CollectionUtils
.
isEmpty
(
collectResDtos
))
{
if
(
CollectionUtils
.
isEmpty
(
collectResDtos
))
{
log
.
info
(
"构建冷静期定时任务,collectResDtos 为空,policyNo: {}"
,
policyNo
);
log
.
info
(
"构建冷静期定时任务,collectResDtos 为空,policyNo: {}"
,
policyNo
);
return
;
return
;
...
...
yd-csf-api/src/main/java/com/yd/csf/api/service/impl/ApiExpectedFortuneServiceImpl.java
View file @
741c8558
...
@@ -535,6 +535,7 @@ public class ApiExpectedFortuneServiceImpl implements ApiExpectedFortuneService
...
@@ -535,6 +535,7 @@ public class ApiExpectedFortuneServiceImpl implements ApiExpectedFortuneService
QueryPolicyAndBrokerDto
queryPolicyAndBrokerDto
=
queryPolicyAndBrokerDtoList
.
get
(
0
);
QueryPolicyAndBrokerDto
queryPolicyAndBrokerDto
=
queryPolicyAndBrokerDtoList
.
get
(
0
);
exchangeRate
=
queryExchangeRateByFeign
(
queryPolicyAndBrokerDto
.
getCurrency
(),
"HKD"
);
exchangeRate
=
queryExchangeRateByFeign
(
queryPolicyAndBrokerDto
.
getCurrency
(),
"HKD"
);
}
}
log
.
info
(
"保单币种->港币的汇率=>,{}"
,
exchangeRate
);
//基本法计算值收集列表
//基本法计算值收集列表
List
<
AlgorithmCollectResDto
>
collectResDtos
=
new
ArrayList
<>();
List
<
AlgorithmCollectResDto
>
collectResDtos
=
new
ArrayList
<>();
...
@@ -1056,6 +1057,7 @@ public class ApiExpectedFortuneServiceImpl implements ApiExpectedFortuneService
...
@@ -1056,6 +1057,7 @@ public class ApiExpectedFortuneServiceImpl implements ApiExpectedFortuneService
if
(
result
!=
null
&&
result
.
getData
()
!=
null
)
{
if
(
result
!=
null
&&
result
.
getData
()
!=
null
)
{
return
result
.
getData
();
return
result
.
getData
();
}
}
log
.
info
(
"调用Feign客户端查询汇率=>,{}"
,
JSON
.
toJSONString
(
result
));
return
null
;
return
null
;
}
}
...
...
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