Commit 741c8558 by zhangxingmin

push

parent 4e64db6c
...@@ -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;
......
...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment