|
@@ -88,7 +88,7 @@ public class ZijinOrderApiServiceImpl implements ZijinOrderApiService {
|
|
|
private String apiUrl;
|
|
private String apiUrl;
|
|
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
|
- private InsSubOrderUpdateDetailService insSubOrderUpdateDetailService;
|
|
|
|
|
|
|
+ private InsSubOrderUpdateDetailService insSubOrderUpdateDetailService;
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
@@ -234,7 +234,7 @@ public class ZijinOrderApiServiceImpl implements ZijinOrderApiService {
|
|
|
|
|
|
|
|
if (OrderStatusEnum.O_3.getCode().equals(resultObj.getOrderStatus())) {
|
|
if (OrderStatusEnum.O_3.getCode().equals(resultObj.getOrderStatus())) {
|
|
|
// add by hxl 添加手动更新状态
|
|
// add by hxl 添加手动更新状态
|
|
|
- insSubOrderUpdateDetailService.insertData(insAreaCompany,insAreaCompany.getOrderstatus(),InsOrderStatusEnum.TO_BACK.getCode(),"1");
|
|
|
|
|
|
|
+ insSubOrderUpdateDetailService.insertData(insAreaCompany, insAreaCompany.getOrderstatus(), InsOrderStatusEnum.TO_BACK.getCode(), "1");
|
|
|
insAreaCompany.setOrderstatus(InsOrderStatusEnum.TO_BACK.getCode());
|
|
insAreaCompany.setOrderstatus(InsOrderStatusEnum.TO_BACK.getCode());
|
|
|
insAreaCompanyService.updateCompanyAndOrdersMessage(insAreaCompany, uwMsg);
|
|
insAreaCompanyService.updateCompanyAndOrdersMessage(insAreaCompany, uwMsg);
|
|
|
return HttpResult.error(OrderStatusEnum.O_3.getName() + ":" + uwMsg);
|
|
return HttpResult.error(OrderStatusEnum.O_3.getName() + ":" + uwMsg);
|
|
@@ -242,7 +242,7 @@ public class ZijinOrderApiServiceImpl implements ZijinOrderApiService {
|
|
|
} else if (OrderStatusEnum.O_1.getCode().equals(resultObj.getOrderStatus())) {
|
|
} else if (OrderStatusEnum.O_1.getCode().equals(resultObj.getOrderStatus())) {
|
|
|
insAreaCompany.setUnderwritingStatus(UnderwritingStatus.US_2.getCode());
|
|
insAreaCompany.setUnderwritingStatus(UnderwritingStatus.US_2.getCode());
|
|
|
// add by hxl 添加手动更新状态
|
|
// add by hxl 添加手动更新状态
|
|
|
- insSubOrderUpdateDetailService.insertData(insAreaCompany,insAreaCompany.getOrderstatus(),InsOrderStatusEnum.WAIT_AUDIT.getCode(),"1");
|
|
|
|
|
|
|
+ insSubOrderUpdateDetailService.insertData(insAreaCompany, insAreaCompany.getOrderstatus(), InsOrderStatusEnum.WAIT_AUDIT.getCode(), "1");
|
|
|
insAreaCompany.setOrderstatus(InsOrderStatusEnum.WAIT_AUDIT.getCode());
|
|
insAreaCompany.setOrderstatus(InsOrderStatusEnum.WAIT_AUDIT.getCode());
|
|
|
insAreaCompanyService.updateCompanyAndOrdersMessage(insAreaCompany, uwMsg);
|
|
insAreaCompanyService.updateCompanyAndOrdersMessage(insAreaCompany, uwMsg);
|
|
|
return HttpResult.error("人工核保" + ":" + uwMsg);
|
|
return HttpResult.error("人工核保" + ":" + uwMsg);
|
|
@@ -367,7 +367,7 @@ public class ZijinOrderApiServiceImpl implements ZijinOrderApiService {
|
|
|
List<DrivingInsuranceDto> drivingInsuranceDto = queryOrderDetailResponse.getDrivingInsuranceDto();
|
|
List<DrivingInsuranceDto> drivingInsuranceDto = queryOrderDetailResponse.getDrivingInsuranceDto();
|
|
|
insAreaCompany.setCrossInsurance(JSON.parseArray(JSON.toJSONString(drivingInsuranceDto)));
|
|
insAreaCompany.setCrossInsurance(JSON.parseArray(JSON.toJSONString(drivingInsuranceDto)));
|
|
|
// add by hxl 添加手动更新状态
|
|
// add by hxl 添加手动更新状态
|
|
|
- insSubOrderUpdateDetailService.insertData(insAreaCompany,insAreaCompany.getOrderstatus(),InsOrderStatusEnum.ACCEPT_INSURANCE.getCode(),"1");
|
|
|
|
|
|
|
+ insSubOrderUpdateDetailService.insertData(insAreaCompany, insAreaCompany.getOrderstatus(), InsOrderStatusEnum.ACCEPT_INSURANCE.getCode(), "1");
|
|
|
insAreaCompany.setOrderstatus(InsOrderStatusEnum.ACCEPT_INSURANCE.getCode());
|
|
insAreaCompany.setOrderstatus(InsOrderStatusEnum.ACCEPT_INSURANCE.getCode());
|
|
|
insAreaCompanyService.updateCompanyAndOrders(insAreaCompany);
|
|
insAreaCompanyService.updateCompanyAndOrders(insAreaCompany);
|
|
|
return HttpResult.ok("订单已支付,订单状态修改完成");
|
|
return HttpResult.ok("订单已支付,订单状态修改完成");
|
|
@@ -411,7 +411,7 @@ public class ZijinOrderApiServiceImpl implements ZijinOrderApiService {
|
|
|
String proposalNo = paymentCallbacksRequest.getOrderId();
|
|
String proposalNo = paymentCallbacksRequest.getOrderId();
|
|
|
InsAreaCompany insAreaCompany = insAreaCompanyService.getByInsOrderNo(proposalNo);
|
|
InsAreaCompany insAreaCompany = insAreaCompanyService.getByInsOrderNo(proposalNo);
|
|
|
// add by hxl 添加自动更新状态
|
|
// add by hxl 添加自动更新状态
|
|
|
- insSubOrderUpdateDetailService.insertData(insAreaCompany,insAreaCompany.getOrderstatus(),InsOrderStatusEnum.ACCEPT_INSURANCE.getCode(),"2");
|
|
|
|
|
|
|
+ insSubOrderUpdateDetailService.insertData(insAreaCompany, insAreaCompany.getOrderstatus(), InsOrderStatusEnum.ACCEPT_INSURANCE.getCode(), "2");
|
|
|
// 保单号
|
|
// 保单号
|
|
|
insAreaCompany.setOrderstatus(InsOrderStatusEnum.ACCEPT_INSURANCE.getCode());
|
|
insAreaCompany.setOrderstatus(InsOrderStatusEnum.ACCEPT_INSURANCE.getCode());
|
|
|
insAreaCompanyService.updateCompanyAndOrders(insAreaCompany);
|
|
insAreaCompanyService.updateCompanyAndOrders(insAreaCompany);
|
|
@@ -439,7 +439,7 @@ public class ZijinOrderApiServiceImpl implements ZijinOrderApiService {
|
|
|
|
|
|
|
|
if (OrderStatusEnum.O_2.getCode().equals(resultObj.getOrderStatus())) {
|
|
if (OrderStatusEnum.O_2.getCode().equals(resultObj.getOrderStatus())) {
|
|
|
// add by hxl 添加手动更新状态
|
|
// add by hxl 添加手动更新状态
|
|
|
- insSubOrderUpdateDetailService.insertData(insAreaCompany,insAreaCompany.getOrderstatus(),InsOrderStatusEnum.WAIT_PAY.getCode(),"1");
|
|
|
|
|
|
|
+ insSubOrderUpdateDetailService.insertData(insAreaCompany, insAreaCompany.getOrderstatus(), InsOrderStatusEnum.WAIT_PAY.getCode(), "1");
|
|
|
QueryOrderDetailResponse.BaseInfoDTO baseInfo = queryOrderDetailResponse.getResultObj().getBaseInfo();
|
|
QueryOrderDetailResponse.BaseInfoDTO baseInfo = queryOrderDetailResponse.getResultObj().getBaseInfo();
|
|
|
|
|
|
|
|
insAreaCompany.setJqpolicyno(baseInfo.getPolicyNoCI());
|
|
insAreaCompany.setJqpolicyno(baseInfo.getPolicyNoCI());
|
|
@@ -457,7 +457,7 @@ public class ZijinOrderApiServiceImpl implements ZijinOrderApiService {
|
|
|
return HttpResult.ok("核保成功");
|
|
return HttpResult.ok("核保成功");
|
|
|
} else if (OrderStatusEnum.O_3.getCode().equals(resultObj.getOrderStatus())) {
|
|
} else if (OrderStatusEnum.O_3.getCode().equals(resultObj.getOrderStatus())) {
|
|
|
// add by hxl 添加手动更新状态
|
|
// add by hxl 添加手动更新状态
|
|
|
- insSubOrderUpdateDetailService.insertData(insAreaCompany,insAreaCompany.getOrderstatus(),InsOrderStatusEnum.TO_BACK.getCode(),"1");
|
|
|
|
|
|
|
+ insSubOrderUpdateDetailService.insertData(insAreaCompany, insAreaCompany.getOrderstatus(), InsOrderStatusEnum.TO_BACK.getCode(), "1");
|
|
|
insAreaCompany.setOrderstatus(InsOrderStatusEnum.TO_BACK.getCode());
|
|
insAreaCompany.setOrderstatus(InsOrderStatusEnum.TO_BACK.getCode());
|
|
|
|
|
|
|
|
List<QueryOrderDetailResponse.OrderPolicyListDTO> orderPolicyListDTOS = resultObj.getOrderPolicyList()
|
|
List<QueryOrderDetailResponse.OrderPolicyListDTO> orderPolicyListDTOS = resultObj.getOrderPolicyList()
|