|
|
@@ -730,10 +730,16 @@ public class InsCrawlerOrderServiceImpl implements InsCrawlerOrderService {
|
|
|
}
|
|
|
|
|
|
// 赔付率
|
|
|
- quoteRespVo.setLossRation(Double.parseDouble(response.getOther().getLossRation()));
|
|
|
+ if(Objects.nonNull(response.getOther().getLossRation())) {
|
|
|
+ quoteRespVo.setLossRation(Double.parseDouble(response.getOther().getLossRation()));
|
|
|
+ }
|
|
|
// 交强赔付率
|
|
|
- quoteRespVo.setJqLossRation(Double.parseDouble(response.getOther().getJqLossRation()));
|
|
|
- quoteRespVo.setSyLossRation(Double.parseDouble(response.getOther().getSyLossRation()));
|
|
|
+ if(Objects.nonNull(response.getOther().getJqLossRation())) {
|
|
|
+ quoteRespVo.setJqLossRation(Double.parseDouble(response.getOther().getJqLossRation()));
|
|
|
+ }
|
|
|
+ if(Objects.nonNull(response.getOther().getSyLossRation())) {
|
|
|
+ quoteRespVo.setSyLossRation(Double.parseDouble(response.getOther().getSyLossRation()));
|
|
|
+ }
|
|
|
|
|
|
|
|
|
insAreaCompanyService.insertCompanyAndOrders(insAreaCompany, insAreaCompanyAccidentalDriving);
|