|
|
@@ -213,7 +213,7 @@ public class ZhongMeiApiRequestImpl implements ZhongMeiApiRequest {
|
|
|
@Transactional
|
|
|
public UnderwritingResultsVo underwriting(UnderwritingVo underwritingVo) {
|
|
|
OrderBase orderBase = underwritingVo.getOrder();
|
|
|
- String url = getApiUrl(orderBase.getInsuranceCompanyCode());
|
|
|
+ String url = getApiUrl(orderBase.getInsuranceCompanyId());
|
|
|
//获取配置信息
|
|
|
ZmApiConfigureParameters parameters = ConfigureParametersConversion.conversionEntity(ZmApiConfigureParameters.class, orderBase.getAttributionInformationVo().getConfigInfo());
|
|
|
|
|
|
@@ -273,7 +273,7 @@ public class ZhongMeiApiRequestImpl implements ZhongMeiApiRequest {
|
|
|
@Override
|
|
|
public PaymentLinkResultsVo getPaymentLink(PaymentLinkVo paymentLinkVo) throws JsonProcessingException {
|
|
|
OrderBase orderBase = paymentLinkVo.getOrder();
|
|
|
- String url = getApiUrl(orderBase.getInsuranceCompanyCode());
|
|
|
+ String url = getApiUrl(orderBase.getInsuranceCompanyId());
|
|
|
ZmApiOrder zmApiOrder = zhongmeiApiOrderService.findByOrdersNo(orderBase.getOrdersNo());
|
|
|
String payUrl = zmApiOrder.getPayUrl();
|
|
|
//如果mongodb中没有支付链接,说明是人工审核,需要调用核保状态查询接口
|
|
|
@@ -298,7 +298,7 @@ public class ZhongMeiApiRequestImpl implements ZhongMeiApiRequest {
|
|
|
@Override
|
|
|
public void uploadImage(InsuranceUploadImageVo insuranceUploadImageVo) {
|
|
|
OrderBase orderBase = insuranceUploadImageVo.getOrder();
|
|
|
- String url = getApiUrl(orderBase.getInsuranceCompanyCode());
|
|
|
+ String url = getApiUrl(orderBase.getInsuranceCompanyId());
|
|
|
//获取配置信息
|
|
|
AttributionInformationVo attributionInformationVo = orderBase.getAttributionInformationVo();
|
|
|
ZmApiConfigureParameters parameters = ConfigureParametersConversion.conversionEntity(ZmApiConfigureParameters.class, attributionInformationVo.getConfigInfo());
|
|
|
@@ -320,7 +320,7 @@ public class ZhongMeiApiRequestImpl implements ZhongMeiApiRequest {
|
|
|
public DownloadPolicyResultVo downloadPolicy(DownloadPolicyVo downloadPolicyVo) {
|
|
|
//获取配置信息
|
|
|
OrderBase orderBase = downloadPolicyVo.getOrder();
|
|
|
- String url = getApiUrl(orderBase.getInsuranceCompanyCode());
|
|
|
+ String url = getApiUrl(orderBase.getInsuranceCompanyId());
|
|
|
AttributionInformationVo attributionInformationVo = orderBase.getAttributionInformationVo();
|
|
|
ZmApiConfigureParameters parameters = ConfigureParametersConversion.conversionEntity(ZmApiConfigureParameters.class, attributionInformationVo.getConfigInfo());
|
|
|
DownloadPolicyResultVo downloadPolicyResultVo = new DownloadPolicyResultVo();
|
|
|
@@ -384,7 +384,7 @@ public class ZhongMeiApiRequestImpl implements ZhongMeiApiRequest {
|
|
|
public OrderStatusResultVo queryOrderState(OrderStatusVo orderStatusVo) {
|
|
|
//获取配置信息
|
|
|
OrderBase orderBase = orderStatusVo.getOrder();
|
|
|
- String url = getApiUrl(orderBase.getInsuranceCompanyCode());
|
|
|
+ String url = getApiUrl(orderBase.getInsuranceCompanyId());
|
|
|
OrderStatusResultVo orderStatusResultVo = new OrderStatusResultVo();
|
|
|
|
|
|
AttributionInformationVo attributionInformationVo = orderBase.getAttributionInformationVo();
|