|
|
@@ -100,7 +100,7 @@ public class YangGuangApiRequestImpl implements YangGuangApiRequest {
|
|
|
YangGuangConfigureParameters parameters,String url) throws JsonProcessingException {
|
|
|
|
|
|
YangGuangAccuracyCalculateResponse response = yangGuangApiRequestComponent.accuracyCalculaye(request,url);
|
|
|
- if (!response.getErrorCode().equals("0")) {
|
|
|
+ if (!response.getErrorCode().equals("0") || StringUtils.isNotEmpty(response.getRemarkCi())) {
|
|
|
String endDate = extractEndDate(response);
|
|
|
// 交强重复投保处理
|
|
|
if (endDate != null) {
|
|
|
@@ -376,13 +376,15 @@ public class YangGuangApiRequestImpl implements YangGuangApiRequest {
|
|
|
// 获取缴费地址
|
|
|
PaymentLinkVo paymentLinkVo = new PaymentLinkVo();
|
|
|
paymentLinkVo.setOrder(orderStatusVo.getOrder());
|
|
|
+ paymentLinkVo.setInsOrdersCarUserInfoList(orderStatusVo.getInsOrdersCarUserInfoList());
|
|
|
+ paymentLinkVo.setInsOrdersCosts(orderStatusVo.getInsOrdersCosts());
|
|
|
PaymentLinkResultsVo paymentLinkResultsVo = getPaymentLink(paymentLinkVo);
|
|
|
orderStatusResultVo.setPaymentLink(paymentLinkResultsVo.getPaymentLink());
|
|
|
}
|
|
|
// 缴费成功 获取保单号
|
|
|
String jqPolicyNo = yangGuangProposalStatusQueryResponse.getCiPolicyNo();
|
|
|
String syPolicyNo = yangGuangProposalStatusQueryResponse.getBiPolicyNo();
|
|
|
- if (jqPolicyNo != null || syPolicyNo != null) {
|
|
|
+ if (!jqPolicyNo.equals("") || !syPolicyNo.equals("")) {
|
|
|
orderStatusResultVo.setOrderStatus(InsOrderStatusEnum.UNDERWRITED);
|
|
|
orderStatusResultVo.setJqPolicyno(jqPolicyNo);
|
|
|
orderStatusResultVo.setSyPolicyno(syPolicyNo);
|