|
@@ -614,12 +614,14 @@ public class InsAlltrustApiServiceImpl implements InsAlltrustApiService {
|
|
|
// findRegion()
|
|
// findRegion()
|
|
|
|
|
|
|
|
//接口请求
|
|
//接口请求
|
|
|
- String responseData = httpPostResultLog(m, YcBuildData.API_AUDIT, "永诚API方式 - 核保(车牌号:" + order.getLicenseno() + ") - ");
|
|
|
|
|
|
|
+ String responseData = httpPostResultLog(m, YcBuildData.API_AUDIT, "永诚API方式 - 核保(订单号:"+iac.getId()+")(车牌号:" + order.getLicenseno() + ") - ");
|
|
|
AssertionUtils.isEmpty(responseData, logNo + "核保请求超时请重试。");
|
|
AssertionUtils.isEmpty(responseData, logNo + "核保请求超时请重试。");
|
|
|
|
|
|
|
|
String cleanStr = YcBuildData.cleanResponseStr(responseData);
|
|
String cleanStr = YcBuildData.cleanResponseStr(responseData);
|
|
|
AuditResponse rd = gainXmlMapper().readValue(cleanStr, AuditResponse.class);
|
|
AuditResponse rd = gainXmlMapper().readValue(cleanStr, AuditResponse.class);
|
|
|
|
|
|
|
|
|
|
+ if(rd.getResponseHead().getReturnCode().equals("E0001") && rd.getResponseHead().getReturnMessage().contains("核保时间需要小于起保日期"))return HttpResult.error("核保请求异常,请重试核保。");
|
|
|
|
|
+
|
|
|
if (rd.getResponseHead().getReturnCode().equals("0000")) {
|
|
if (rd.getResponseHead().getReturnCode().equals("0000")) {
|
|
|
String statusJq = StringUtils.toString(rd.getStatusJq(), "");
|
|
String statusJq = StringUtils.toString(rd.getStatusJq(), "");
|
|
|
String statusSy = StringUtils.toString(rd.getStatusSY(), "");
|
|
String statusSy = StringUtils.toString(rd.getStatusSY(), "");
|