|
|
@@ -39,10 +39,10 @@ public class CompulsoryInsuranceDTO {
|
|
|
@JsonProperty("specialInfos")
|
|
|
private List<Object> specialInfos;
|
|
|
|
|
|
- public CompulsoryInsuranceDTO(RiskInfoVo ciRiskInfoVo, double vehicleExhaust, int seatCount ) {
|
|
|
+ public CompulsoryInsuranceDTO(RiskInfoVo ciRiskInfoVo, double vehicleExhaust, int seatCount, String completeKerbMass) {
|
|
|
this.productInfo = new ProductInfoDTO(ciRiskInfoVo);
|
|
|
this.itemKinds = ItemKindsDTO.getKinds();
|
|
|
- this.carShipTax = new CarShipTaxDTO(vehicleExhaust, seatCount);
|
|
|
+ this.carShipTax = new CarShipTaxDTO(vehicleExhaust, seatCount, completeKerbMass);
|
|
|
this.coefficientInfo = new CoefficientInfoDTO();
|
|
|
this.specialInfos = List.of();
|
|
|
}
|
|
|
@@ -196,7 +196,7 @@ public class CompulsoryInsuranceDTO {
|
|
|
this.policyNo = "";
|
|
|
this.premium = "0.00";
|
|
|
this.productCode = "0320";
|
|
|
- this.proposalNo = "0356";
|
|
|
+ this.proposalNo = "";
|
|
|
this.proposalStatus = "";
|
|
|
this.proposalTime = "";
|
|
|
this.renewMark = "";
|
|
|
@@ -379,7 +379,7 @@ public class CompulsoryInsuranceDTO {
|
|
|
@JsonProperty("taxEndDate")
|
|
|
private String taxEndDate;
|
|
|
|
|
|
- public CarShipTaxDTO(double vehicleExhaust, int seatCount) {
|
|
|
+ public CarShipTaxDTO(double vehicleExhaust, int seatCount, String completeKerbMass) {
|
|
|
String payCarType = PayCarType.getPayCarType(vehicleExhaust, seatCount);
|
|
|
this.comDocumentNumber = "";
|
|
|
this.comTaxOrg = "";
|
|
|
@@ -406,14 +406,13 @@ public class CompulsoryInsuranceDTO {
|
|
|
this.taxPayerName = "";
|
|
|
this.totalTax = "";
|
|
|
this.unitTaxAmt = "";
|
|
|
- this.weight = String.valueOf(vehicleExhaust);
|
|
|
+ this.weight = completeKerbMass;
|
|
|
this.usage = "200";
|
|
|
this.certificateDate = "";
|
|
|
this.abateAmt = "";
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- @NoArgsConstructor
|
|
|
@Data
|
|
|
public static class CoefficientInfoDTO {
|
|
|
@JsonProperty("proposalNo")
|
|
|
@@ -558,6 +557,80 @@ public class CompulsoryInsuranceDTO {
|
|
|
private String pingAnBillCTPELR;
|
|
|
@JsonProperty("pingAnBillELR")
|
|
|
private String pingAnBillELR;
|
|
|
+
|
|
|
+ public CoefficientInfoDTO() {
|
|
|
+ this.proposalNo = "";
|
|
|
+ this.entireDiscount = "";
|
|
|
+ this.claimAdjustValue = "";
|
|
|
+ this.claimFlatReason = "";
|
|
|
+ this.peccancyAdjustValue = "";
|
|
|
+ this.noFloatReason = "";
|
|
|
+ this.lastPolicyNum = "";
|
|
|
+ this.drunkFeeRateFlat = "";
|
|
|
+ this.totalCoefNum = "";
|
|
|
+ this.drunkTotalCoef = "";
|
|
|
+ this.totalCoef = "";
|
|
|
+ this.drinkFeeRateFlat = "";
|
|
|
+ this.lossRatioCi = "";
|
|
|
+ this.lossRatioBi = "";
|
|
|
+ this.totalRatio = "";
|
|
|
+ this.handFeeCi = "";
|
|
|
+ this.expDisCoef = "";
|
|
|
+ this.noComLastFlatRsn = "";
|
|
|
+ this.selfChannelRatio = "";
|
|
|
+ this.selfSubmitRatio = "";
|
|
|
+ this.reason = "";
|
|
|
+ this.recordCoefCi = "";
|
|
|
+ this.trafficFloatRes = "";
|
|
|
+ this.areaCoef = "";
|
|
|
+ this.lastPayAmt = "";
|
|
|
+ this.handFeeBi = "";
|
|
|
+ this.channelCoefRes = "";
|
|
|
+ this.trafficRateFloat = "";
|
|
|
+ this.startTm = "";
|
|
|
+ this.endTm = "";
|
|
|
+ this.lowestCoef = "";
|
|
|
+ this.suggestCoef = "";
|
|
|
+ this.payoutRateCi = "";
|
|
|
+ this.payoutRateBi = "";
|
|
|
+ this.payoutRate = "";
|
|
|
+ this.riskScore = "";
|
|
|
+ this.totalFeeRate = "";
|
|
|
+ this.singlePaymentCi = "";
|
|
|
+ this.singlePaymentBi = "";
|
|
|
+ this.singlePayment = "";
|
|
|
+ this.insureYears = "";
|
|
|
+ this.claimTimes = "";
|
|
|
+ this.claimAdjustLvl = "";
|
|
|
+ this.pricingAdjustValue = "";
|
|
|
+ this.riskVar = "";
|
|
|
+ this.pricePlan = "";
|
|
|
+ this.floatDown = "";
|
|
|
+ this.compensateFeeRate = "";
|
|
|
+ this.fixedDropDiscount = "";
|
|
|
+ this.entireInitialDiscount = "";
|
|
|
+ this.coefficientScore = "";
|
|
|
+ this.pubScores = "";
|
|
|
+ this.microDiscoverScore = "";
|
|
|
+ this.truckRiskMrk = "";
|
|
|
+ this.busRiskMrk = "";
|
|
|
+ this.truckScore = "";
|
|
|
+ this.truckRiskWarning = "";
|
|
|
+ this.predictedNature = "";
|
|
|
+ this.fullCoverageScore = "";
|
|
|
+ this.liabilityOnlyScore = "";
|
|
|
+ this.ctpOnlyScore = "";
|
|
|
+ this.renewalFrequency = "";
|
|
|
+ this.didScore = "";
|
|
|
+ this.vhlPriceType = "";
|
|
|
+ this.suggestedDiscount = "";
|
|
|
+ this.onlineCarScore = "";
|
|
|
+ this.carIllegalScore = "";
|
|
|
+ this.completeControlScore = "";
|
|
|
+ this.pingAnBillCOMELR = "";
|
|
|
+ this.pingAnBillCTPELR = "";
|
|
|
+ this.pingAnBillELR = "";
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
@NoArgsConstructor
|
|
|
@@ -690,7 +763,7 @@ public class CompulsoryInsuranceDTO {
|
|
|
ItemKindsDTO itemKindsDTO = new ItemKindsDTO();
|
|
|
itemKindsDTO.setProposalNo("");
|
|
|
itemKindsDTO.setKindCode(ciKind.getKindCode());
|
|
|
- itemKindsDTO.setKindName(ciKind.getKindCode());
|
|
|
+ itemKindsDTO.setKindName(ciKind.getKindName());
|
|
|
itemKindsDTO.setKindPackage("");
|
|
|
itemKindsDTO.setProductName("");
|
|
|
itemKindsDTO.setBasePremium("0");
|