Explorar o código

修改BUG--驾意险这配置的5份,报价勾选只显示1份

lixiaolong hai 2 meses
pai
achega
1b535cd388

+ 2 - 2
commons/src/main/java/com/jzg/commons/entity/scheme/vo/PtlSchemeSaveVo.java

@@ -1,4 +1,4 @@
-package com.jzg.commons.entity.scheme.vo;
+    package com.jzg.commons.entity.scheme.vo;
 
 
 import com.fasterxml.jackson.annotation.JsonIgnore;
 import com.fasterxml.jackson.annotation.JsonIgnore;
 import com.jzg.commons.constants.ProductsType;
 import com.jzg.commons.constants.ProductsType;
@@ -276,7 +276,7 @@ public class PtlSchemeSaveVo {
     public List<PtlSchemeInsuranceDrivingIntention> getPtlSchemeInsuranceDrivingIntentionList(){
     public List<PtlSchemeInsuranceDrivingIntention> getPtlSchemeInsuranceDrivingIntentionList(){
         List<PtlSchemeInsuranceDrivingIntention> ptlSchemeInsuranceDrivingIntentionList = new ArrayList<>();
         List<PtlSchemeInsuranceDrivingIntention> ptlSchemeInsuranceDrivingIntentionList = new ArrayList<>();
         for (Scheme scheme : schemeList) {
         for (Scheme scheme : schemeList) {
-            scheme.getDrivingList().forEach(drivingIntention -> {
+            scheme.getDrivingIntentionList().forEach(drivingIntention -> {
                 PtlSchemeInsuranceDrivingIntention ptlSchemeInsuranceDrivingIntention = new PtlSchemeInsuranceDrivingIntention();
                 PtlSchemeInsuranceDrivingIntention ptlSchemeInsuranceDrivingIntention = new PtlSchemeInsuranceDrivingIntention();
                 ptlSchemeInsuranceDrivingIntention.setId(IdGenerate.nextId());
                 ptlSchemeInsuranceDrivingIntention.setId(IdGenerate.nextId());
                 ptlSchemeInsuranceDrivingIntention.setSchemeInfoId(scheme.getId());
                 ptlSchemeInsuranceDrivingIntention.setSchemeInfoId(scheme.getId());

+ 102 - 0
tenant/insurance/quotation-huatai/src/main/java/com/jzg/quotation/huatai/crawler/entity/Response/HtCrawlerQuoteResponse.java

@@ -332,47 +332,149 @@ public class HtCrawlerQuoteResponse implements Serializable {
                 @Serial
                 @Serial
                 private static final long serialVersionUID = -2573582333838228647L;
                 private static final long serialVersionUID = -2573582333838228647L;
 
 
+                /**
+                 * 附加费率
+                 */
                 private String additionrate;
                 private String additionrate;
+                /**
+                 * 调整系数
+                 */
                 private String adjustrate;
                 private String adjustrate;
+                /**
+                 * 基准保费
+                 */
                 private String basedpremium;
                 private String basedpremium;
+                /**
+                 * 基本保费
+                 */
                 private String basicpremium;
                 private String basicpremium;
+                /**
+                 * 基础风险保费
+                 */
                 private String basicriskpremiums;
                 private String basicriskpremiums;
+                /**
+                 * 基准保费
+                 */
                 private String benchmarkpremiums;
                 private String benchmarkpremiums;
+                /**
+                 * 计算公式
+                 */
                 private String calculation;
                 private String calculation;
+                /**
+                 * 险别代码(商业险)
+                 */
                 private String comcoveragecode;
                 private String comcoveragecode;
+                /**
+                 * 险别代码
+                 */
                 private String coveragecode;
                 private String coveragecode;
+                /**
+                 * 险别名称
+                 */
                 private String coveragename;
                 private String coveragename;
+                /**
+                 * 险别类型
+                 */
                 private String coveragetype;
                 private String coveragetype;
+                /**
+                 * 币种
+                 */
                 private String currency;
                 private String currency;
+                /**
+                 * 免赔率
+                 */
                 private String deductiblerate;
                 private String deductiblerate;
+                /**
+                 * 折扣系数
+                 */
                 private String discount;
                 private String discount;
+                /**
+                 * 终保日期
+                 */
                 private String enddate;
                 private String enddate;
+                /**
+                 * 是否不计免赔
+                 */
                 private String isnondeductible;
                 private String isnondeductible;
+                /**
+                 * 险别保费
+                 */
                 private String kindpremiun;
                 private String kindpremiun;
+                /**
+                 * 上年保单出单日期
+                 */
                 private String lastbilldate;
                 private String lastbilldate;
+                /**
+                 * 上年保单终保日期
+                 */
                 private String lastenddate;
                 private String lastenddate;
+                /**
+                 * 上年保单起保日期
+                 */
                 private String laststartdate;
                 private String laststartdate;
                 /**
                 /**
                  * 保额
                  * 保额
                  */
                  */
                 private String limitamount;
                 private String limitamount;
+                /**
+                 * 其他费率
+                 */
                 private String otherRate;
                 private String otherRate;
+                /**
+                 * 不含税保费
+                 */
                 private String premexcludevat;
                 private String premexcludevat;
+                /**
+                 * 利润系数
+                 */
                 private String profitscale;
                 private String profitscale;
+                /**
+                 * 数量
+                 */
                 private String quantity;
                 private String quantity;
+                /**
+                 * 费率
+                 */
                 private String rate;
                 private String rate;
+                /**
+                 * 费率周期
+                 */
                 private String rateperiod;
                 private String rateperiod;
+                /**
+                 * 重复投保标志
+                 */
                 private String reinsureflag;
                 private String reinsureflag;
+                /**
+                 * 序号
+                 */
                 private String serialno;
                 private String serialno;
+                /**
+                 * 服务编码
+                 */
                 private String serviceCode;
                 private String serviceCode;
+                /**
+                 * 服务名称
+                 */
                 private String serviceName;
                 private String serviceName;
+                /**
+                 * 服务次数
+                 */
                 private String serviceTimes;
                 private String serviceTimes;
+                /**
+                 * 短期费率
+                 */
                 private String shortrate;
                 private String shortrate;
                 /**
                 /**
                  * 实际需要收取的保费
                  * 实际需要收取的保费
                  */
                  */
                 private String standardpremium;
                 private String standardpremium;
+                /**
+                 * 起保日期
+                 */
                 private String startdate;
                 private String startdate;
+                /**
+                 * 增值税
+                 */
                 private String vat;
                 private String vat;
             }
             }
         }
         }