Răsfoiți Sursa

阳光回显自主定价系数

Qchen 1 an în urmă
părinte
comite
d2a1fc4535

+ 6 - 0
src/main/java/com/ydtech/modules/ins/model/vo/QuoteRespVo.java

@@ -202,6 +202,12 @@ public class QuoteRespVo {
     @ApiModelProperty("自主定价系数")
     private String pricingCoefficient;
 
+    @ApiModelProperty("自主定价系数上限")
+    private String pricingCoefficientUpper;
+
+    @ApiModelProperty("自主定价系数下限")
+    private String pricingCoefficientLower;
+
     @ApiModelProperty("费用查看")
     private Boolean feeView;
 

+ 6 - 0
src/main/java/com/ydtech/modules/order/entity/InsAreaCompany.java

@@ -607,6 +607,12 @@ public class InsAreaCompany implements Serializable {
     @TableField(value = "xyh_grade")
     private String xyhGrade;
 
+    /**
+     * 自主定价系数
+     */
+    @TableField(value = "pricing_coefficient")
+    private String pricingCoefficient;
+
     //入口总金额
     @TableField(exist = false)
     private BigDecimal entranceAllFee;

+ 6 - 1
src/main/java/com/ydtech/modules/order/service/impl/YangGuangOrderApiServiceImpl.java

@@ -935,7 +935,10 @@ public class YangGuangOrderApiServiceImpl implements YangGuangOrderApiService {
         quoteRespVo.setSeriesTypeActualName(yangGuangAccuracyCalculateResponse.getSeriesTypeActualName() != null ? yangGuangAccuracyCalculateResponse.getSeriesTypeActualName() : "");
         // 向阳花标识
         quoteRespVo.setXyhGrade(yangGuangAccuracyCalculateResponse.getXYHGrade() != null ? "1" : "0");
-
+        // 自主定价系数
+        quoteRespVo.setPricingCoefficient(yangGuangAccuracyCalculateResponse.getDiscount().getActualautoundwrtfactor() != null ? yangGuangAccuracyCalculateResponse.getDiscount().getActualautoundwrtfactor() : "");
+        quoteRespVo.setPricingCoefficientUpper(yangGuangAccuracyCalculateResponse.getDiscount().getAdjustrateUpper() != null ? yangGuangAccuracyCalculateResponse.getDiscount().getAdjustrateUpper() : "");
+        quoteRespVo.setPricingCoefficientLower(yangGuangAccuracyCalculateResponse.getDiscount().getAdjustrateLower() != null ? yangGuangAccuracyCalculateResponse.getDiscount().getAdjustrateLower() : "");
         List<QuoteKindRespVo> kindList1 = new ArrayList<>();
         List<RiskInfoVo> riskList = yaQuoteInfoVo.getRiskList();
         //  报价险种放入保费
@@ -1001,6 +1004,7 @@ public class YangGuangOrderApiServiceImpl implements YangGuangOrderApiService {
                     break;
             }
         }
+
         quoteRespVo.setRiskList(riskList1);
         quoteRespVo.setKindList(kindList1);
         quoteRespVo.setJqPremium(jqPremium);
@@ -1038,6 +1042,7 @@ public class YangGuangOrderApiServiceImpl implements YangGuangOrderApiService {
         insAreaCompany.setMergeCostRate(quoteRespVo.getMergeCostRate());
         insAreaCompany.setSeriesTypeActualName(quoteRespVo.getSeriesTypeActualName());
         insAreaCompany.setXyhGrade(quoteRespVo.getXyhGrade());
+        insAreaCompany.setPricingCoefficient(quoteRespVo.getPricingCoefficient());
         InsOrders insOrders = insOrdersService.getById(orderId);
         //车船税
         if (!insOrders.getProductid().equals("034001") && !insOrders.getProductid().equals("034002")) {