|
|
@@ -145,6 +145,7 @@ public final class HbCrawlerQuoteResultVoBuild {
|
|
|
String biPremium = "0";
|
|
|
String ciPremium = "0";
|
|
|
String vvTax = "0";
|
|
|
+ String niPremium = "0";
|
|
|
|
|
|
if (Objects.nonNull(busiCarInsureRisk)) {
|
|
|
biPremium = busiCarInsureRisk.getSumPremium();
|
|
|
@@ -158,9 +159,13 @@ public final class HbCrawlerQuoteResultVoBuild {
|
|
|
vvTax = carInsureShiptax.getSumtax();
|
|
|
quoteResultsVo.getCosts().setVvTax(vvTax);
|
|
|
}
|
|
|
+ if (Objects.nonNull(proposalResponse.getAccidentTotalPremium())) {
|
|
|
+ niPremium = proposalResponse.getAccidentTotalPremium();
|
|
|
+ quoteResultsVo.getCosts().setNiPremium(niPremium);
|
|
|
+ }
|
|
|
//设置非车保费
|
|
|
quoteResultsVo.getCosts().setNiPremium(proposalResponse.getAccidentTotalPremium());
|
|
|
- String sumPremium = String.valueOf(Double.parseDouble(biPremium) + Double.parseDouble(ciPremium) + Double.parseDouble(vvTax));
|
|
|
+ String sumPremium = String.valueOf(Double.parseDouble(biPremium) + Double.parseDouble(ciPremium) + Double.parseDouble(vvTax)+ Double.parseDouble(niPremium));
|
|
|
quoteResultsVo.getCosts().setSumPremium(sumPremium);
|
|
|
|
|
|
|