فهرست منبع

众安 华农驾意险 太平bug

785834757 2 سال پیش
والد
کامیت
7281640fe6
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      src/main/java/com/ydtech/modules/order/entity/InsAreaCompanyAccidentalDriving.java

+ 2 - 1
src/main/java/com/ydtech/modules/order/entity/InsAreaCompanyAccidentalDriving.java

@@ -60,6 +60,7 @@ public class InsAreaCompanyAccidentalDriving implements Serializable {
         //众安
         if (t.getCompanyId().equals("ZAPA1000000")) {
             JSONObject jsonObject = JSONObject.parseObject(JSONObject.toJSONString(t.getAccidentalDrivingVo()));
+            this.setRideRiskCode(jsonObject.getString("combination"));
             this.setRideRiskName(jsonObject.getString("name"));
             this.setQuantity(jsonObject.getInteger("quantity"));
             this.setCompanyId(t.getCompanyId());
@@ -88,7 +89,7 @@ public class InsAreaCompanyAccidentalDriving implements Serializable {
                 if (t.getCompanyId().equals("HNIC1000000")) {
                     JSONObject jsonObject = JSONObject.parseObject(JSONObject.toJSONString(t.getAccidentalDrivingVo()));
                     this.setRideRiskName(jsonObject.getString("planName"));
-                    this.setQuantity(jsonObject.getInteger("quantity"));
+                    this.setQuantity(jsonObject.getInteger("allQuantity"));
                     this.setRideRiskCode(jsonObject.getString("planCode"));
                     this.setCompanyId(t.getCompanyId());
                 }else //安盛