|
@@ -133,7 +133,7 @@ public class InsCrawlerOrderServiceImpl implements InsCrawlerOrderService {
|
|
|
InsAreaCompanyAccidentalDriving insAreaCompanyAccidentalDriving = new InsAreaCompanyAccidentalDriving();
|
|
InsAreaCompanyAccidentalDriving insAreaCompanyAccidentalDriving = new InsAreaCompanyAccidentalDriving();
|
|
|
insAreaCompanyAccidentalDriving.convertCrawler(t);
|
|
insAreaCompanyAccidentalDriving.convertCrawler(t);
|
|
|
//如果是太平 将id 设置为 riskcode
|
|
//如果是太平 将id 设置为 riskcode
|
|
|
- if(t.getCompanyId().equals("TPIC1000000")){
|
|
|
|
|
|
|
+ if(t.getAccidentalDrivingVo() != null && t.getCompanyId().equals("TPIC1000000")){
|
|
|
JSONObject jsonObject = JSON.parseObject(t.getAccidentalDrivingVo().toString());
|
|
JSONObject jsonObject = JSON.parseObject(t.getAccidentalDrivingVo().toString());
|
|
|
insAreaCompanyAccidentalDriving.setRideRiskCode(jsonObject.get("id").toString());
|
|
insAreaCompanyAccidentalDriving.setRideRiskCode(jsonObject.get("id").toString());
|
|
|
}
|
|
}
|
|
@@ -416,6 +416,10 @@ public class InsCrawlerOrderServiceImpl implements InsCrawlerOrderService {
|
|
|
// 保险公司订单号
|
|
// 保险公司订单号
|
|
|
insAreaCompany.setInsOrderNo(response.getOrderNo());
|
|
insAreaCompany.setInsOrderNo(response.getOrderNo());
|
|
|
insAreaCompanyService.insertCompanyAndOrders(insAreaCompany, insAreaCompanyAccidentalDriving);
|
|
insAreaCompanyService.insertCompanyAndOrders(insAreaCompany, insAreaCompanyAccidentalDriving);
|
|
|
|
|
+ //清空驾意险信息 重新复制
|
|
|
|
|
+// quoteRespVo.getAccident().clear();
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
quoteRespVo.setCompanyId(insAreaCompany.getId());
|
|
quoteRespVo.setCompanyId(insAreaCompany.getId());
|
|
|
return quoteRespVo;
|
|
return quoteRespVo;
|
|
|
}
|
|
}
|