|
|
@@ -125,9 +125,6 @@ public class InsCrawlerOrderServiceImpl implements InsCrawlerOrderService {
|
|
|
// List<DrivingInsuranceDto> drivingInsuranceDto = crawlerAuditResponse.getDrivingInsuranceDto();
|
|
|
// insAreaCompany.setCrossInsurance(JSON.parseArray(JSON.toJSONString(drivingInsuranceDto)));
|
|
|
|
|
|
- // 保单号
|
|
|
- insAreaCompany.setJqpolicyno(crawlerAuditResponse.getJqApplication());
|
|
|
- insAreaCompany.setSypolicyno(crawlerAuditResponse.getSyApplication());
|
|
|
insAreaCompany.setOrderstatus(InsOrderStatusEnum.WAIT_PAY.getCode());
|
|
|
insAreaCompanyService.updateCompanyAndOrders(insAreaCompany);
|
|
|
return HttpResult.ok("核保成功");
|
|
|
@@ -145,6 +142,9 @@ public class InsCrawlerOrderServiceImpl implements InsCrawlerOrderService {
|
|
|
|
|
|
// 0未缴费,1已缴费
|
|
|
if (crawlerAuditResponse.getState() == CrawlerVerifyPaymentConstants.PAID) {
|
|
|
+ // 保单号
|
|
|
+ insAreaCompany.setJqpolicyno(crawlerAuditResponse.getJqApplication());
|
|
|
+ insAreaCompany.setSypolicyno(crawlerAuditResponse.getSyApplication());
|
|
|
insAreaCompany.setOrderstatus(InsOrderStatusEnum.ACCEPT_INSURANCE.getCode());//已承保
|
|
|
insAreaCompanyService.updateCompanyAndOrders(insAreaCompany);
|
|
|
return HttpResult.ok("支付成功");
|