|
@@ -330,6 +330,10 @@ public class InsPlyIncomeServiceImpl extends ServiceImpl<InsPlyIncomeMapper, Ins
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
private String setNoPolicyno(com.ydtech.modules.fnc.entity.InsAreaCompany insAreaCompany) {
|
|
private String setNoPolicyno(com.ydtech.modules.fnc.entity.InsAreaCompany insAreaCompany) {
|
|
|
|
|
+ if (insAreaCompany.getJypremium() == null || insAreaCompany.getJypremium().compareTo(BigDecimal.ZERO) == 0) { // 非车跟单费
|
|
|
|
|
+ return null;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
String crossInsurance = insAreaCompany.getCrossInsurance();
|
|
String crossInsurance = insAreaCompany.getCrossInsurance();
|
|
|
|
|
|
|
|
if (StringUtils.isEmpty(crossInsurance)) {
|
|
if (StringUtils.isEmpty(crossInsurance)) {
|
|
@@ -342,7 +346,7 @@ public class InsPlyIncomeServiceImpl extends ServiceImpl<InsPlyIncomeMapper, Ins
|
|
|
return null;
|
|
return null;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- if (PtlApiType.PTL_API_2.getCode() == insAreaCompany.getApiType()) {
|
|
|
|
|
|
|
+ if (ObjectUtils.isEmpty(insAreaCompany.getApiType()) || PtlApiType.PTL_API_2.getCode() == insAreaCompany.getApiType()) {
|
|
|
List<CrawlerVerifyPaymentResponse.DrivingInsurancesDTO> drivingInsurancesDTOS = objects.toJavaList(CrawlerVerifyPaymentResponse.DrivingInsurancesDTO.class);
|
|
List<CrawlerVerifyPaymentResponse.DrivingInsurancesDTO> drivingInsurancesDTOS = objects.toJavaList(CrawlerVerifyPaymentResponse.DrivingInsurancesDTO.class);
|
|
|
return drivingInsurancesDTOS.get(0).getApplication();
|
|
return drivingInsurancesDTOS.get(0).getApplication();
|
|
|
}
|
|
}
|