|
|
@@ -158,7 +158,7 @@ public class ChengTaiCrawlerRequestService implements QuotationApiBaseService {
|
|
|
|
|
|
ChengTaiBiContract chengTaiBiContract = buildChengTaiBiContract(quoteVo);
|
|
|
|
|
|
- ChengTaiCiContract chengTaiCiContract = buildChengTaiCiContract(quoteVo);
|
|
|
+ ChengTaiCiContract chengTaiCiContract = buildChengTaiCiContract(quoteVo, chengTaiCarModel);
|
|
|
|
|
|
ChengTaiPremiumcalParam param = new ChengTaiPremiumcalParam();
|
|
|
param.setCombo(chengTaiCombo);
|
|
|
@@ -582,7 +582,7 @@ public class ChengTaiCrawlerRequestService implements QuotationApiBaseService {
|
|
|
return chengTaiBiContract;
|
|
|
}
|
|
|
|
|
|
- private ChengTaiCiContract buildChengTaiCiContract(QuoteVo quoteVo) {
|
|
|
+ private ChengTaiCiContract buildChengTaiCiContract(QuoteVo quoteVo, ChengTaiCarModel chengTaiCarModel) {
|
|
|
RiskInfoVo ciRiskInfoVo = quoteVo.getCiRiskInfoVo();
|
|
|
VehicleAndVesselTaxVo vehicleAndVesselTax = quoteVo.getVehicleAndVesselTax();
|
|
|
|
|
|
@@ -611,7 +611,6 @@ public class ChengTaiCrawlerRequestService implements QuotationApiBaseService {
|
|
|
chengTaiCoverage.setIfMainKind("1");
|
|
|
chengTaiCoverage.setKindCode("BZ");
|
|
|
chengTaiCoverage.setKindName("机动车交通事故责任强制保险");
|
|
|
- chengTaiCoverage.setPolicyId("1907623750543810561");
|
|
|
chengTaiCoverage.setRate("0");
|
|
|
chengTaiCoverage.setShortRate("100");
|
|
|
chengTaiCoverage.setShortRateType("2");
|
|
|
@@ -620,12 +619,11 @@ public class ChengTaiCrawlerRequestService implements QuotationApiBaseService {
|
|
|
ChengTaiTax chengTaiTax = new ChengTaiTax();
|
|
|
|
|
|
chengTaiTax.setLastPaidYear(2025);
|
|
|
- chengTaiTax.setPolicyId("1907623750543810561");
|
|
|
chengTaiTax.setTaxEndDate("2025-12-31");
|
|
|
- chengTaiTax.setTaxPayerIdentityType("01");
|
|
|
+ chengTaiTax.setTaxPayerIdentityType("01"); // todo
|
|
|
chengTaiTax.setTaxPayerIdentityNo(vehicleAndVesselTax.getIdentifyNumber());
|
|
|
chengTaiTax.setTaxPayerIdentificationCode(vehicleAndVesselTax.getIdentifyNumber());
|
|
|
- chengTaiTax.setUnladenMass("2000");
|
|
|
+ chengTaiTax.setUnladenMass(chengTaiCarModel.getFullweightmax());
|
|
|
|
|
|
String taxRelifFlag = vehicleAndVesselTax.getTaxRelifFlag();
|
|
|
|