Преглед изворни кода

添加泰康 添加 InitQuotationResult 结构

wlq пре 1 година
родитељ
комит
76b617b37a
18 измењених фајлова са 970 додато и 4 уклоњено
  1. 1 0
      tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/client/HttpURL.java
  2. 78 0
      tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/ee/AllKind.java
  3. 138 0
      tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/ee/Car.java
  4. 102 0
      tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/ee/CarModel.java
  5. 47 0
      tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/ee/CarOwnerVo.java
  6. 10 0
      tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/ee/ChargingPostDto.java
  7. 3 3
      tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/ee/CiKindsVo.java
  8. 6 0
      tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/ee/DriverAccidentVo.java
  9. 68 0
      tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/ee/NewEnergyItemKind.java
  10. 64 0
      tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/ee/OrderInfoVoCI.java
  11. 202 0
      tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/ee/VehicleJingyou.java
  12. 1 1
      tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/entity/InitIdentityResult.java
  13. 12 0
      tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/entity/InitQuotationParam.java
  14. 171 0
      tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/entity/InitQuotationResult.java
  15. 21 0
      tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/service/TaiKangHttpService.java
  16. 0 0
      tenant/insurance/quotation-taikang/src/test/java/com/jzg/quotation/taikang/AESDecryptorTest.java
  17. 12 0
      tenant/insurance/quotation-taikang/src/test/java/com/jzg/quotation/taikang/entity/InitQuotationResultTest.java
  18. 34 0
      tenant/insurance/quotation-taikang/src/test/java/com/jzg/quotation/taikang/service/TaiKangHttpServiceTest1.java

+ 1 - 0
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/client/HttpURL.java

@@ -9,6 +9,7 @@ public interface HttpURL {
     String initQuote = host + "/carSelfService/rest/init/quote";
 
     String basicInfo = host + "/carSelfService/rest/init/basicInfo";
+    String initQuotation = host + "/carSelfService/rest/init/quotation";
     /**
      * 车辆大类
      */

+ 78 - 0
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/ee/AllKind.java

@@ -0,0 +1,78 @@
+package com.jzg.quotation.taikang.ee;
+
+import com.jzg.quotation.taikang.client.UnknownFieldEntity;
+import lombok.Getter;
+import lombok.Setter;
+
+import java.math.BigDecimal;
+
+@Setter
+@Getter
+public class AllKind extends UnknownFieldEntity {
+
+    /**
+     * 不计免赔保费
+     */
+    private BigDecimal bjPremium;
+
+    /**
+     * 种类代码
+     */
+    private String kindCode;
+
+    /**
+     * 数量
+     */
+    private Integer quantity;
+
+    /**
+     * 免赔额
+     */
+    private BigDecimal deductibleAmount;
+
+    /**
+     * 种类中文名称
+     */
+    private String kindCName;
+
+    /**
+     * 报价金额中文
+     */
+    private String quoteAmountCN;
+
+    /**
+     * 基准保费
+     */
+    private BigDecimal benchmarkPremium;
+
+    /**
+     * 总保费
+     */
+    private BigDecimal totalPremium;
+
+    /**
+     * 不计免赔保费描述
+     */
+    private String bjPremiumDes;
+
+    /**
+     * 序列号
+     */
+    private Integer serialNo;
+
+    /**
+     * 保费
+     */
+    private BigDecimal premium;
+
+    /**
+     * 报价金额
+     */
+    private BigDecimal quoteAmount;
+
+    /**
+     * 单位金额
+     */
+    private BigDecimal unitAmount;
+
+}

+ 138 - 0
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/ee/Car.java

@@ -0,0 +1,138 @@
+package com.jzg.quotation.taikang.ee;
+
+import com.jzg.quotation.taikang.client.UnknownFieldEntity;
+import lombok.Getter;
+import lombok.Setter;
+
+import java.math.BigDecimal;
+import java.util.List;
+
+@Setter
+@Getter
+public class Car extends UnknownFieldEntity {
+
+    /**
+     * 发动机号
+     */
+    private String engineNo;
+
+    /**
+     * 品牌名称
+     */
+    private String brandName;
+
+    /**
+     * 车牌号
+     */
+    private String licenseNo;
+
+    /**
+     * 吨位标志
+     */
+    private String tonnageFlag;
+
+    /**
+     * 车辆预订时间
+     */
+    private String carBookingTime;
+
+    /**
+     * 种类限制标志
+     */
+    private Boolean kindLimitFlag;
+
+    /**
+     * 开票日期
+     */
+    private String billDate;
+
+    /**
+     * 使用性质代码
+     */
+    private String useNatureCodeCode;
+
+    /**
+     * 购买价格
+     */
+    private String purchasePrice;
+
+    /**
+     * 注册日期
+     */
+    private String enrollDate;
+
+    /**
+     * 座位数
+     */
+    private String selectedSeat;
+
+    /**
+     * 过户日期
+     */
+    private String transferDate;
+
+    /**
+     * 车架号
+     */
+    private String vinNo;
+
+    /**
+     * 车牌类型
+     */
+    private String licenseType;
+
+    /**
+     * 车型名称
+     */
+    private String modelName;
+
+    /**
+     * 使用性质代码
+     */
+    private String userNatureCode;
+
+    /**
+     * 车辆类型
+     */
+    private String carType;
+
+    /**
+     * 燃料类型
+     */
+    private String fuelType;
+
+    /**
+     * 排量
+     */
+    private BigDecimal exhaustScale;
+
+    /**
+     * 座位标志
+     */
+    private String seatFlag;
+
+    /**
+     * 车主变更标志
+     */
+    private String chgOwnerFlag;
+
+    /**
+     * 发票号
+     */
+    private String billNo;
+
+    /**
+     * 车型信息
+     */
+    private List<CarModel> carModel;
+
+    /**
+     * 车牌类型中文
+     */
+    private String licenseTypeChinese;
+
+    @Override
+    protected void addChildUnknownFields() {
+        addChildUnknownField("carModel", carModel);
+    }
+}

+ 102 - 0
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/ee/CarModel.java

@@ -0,0 +1,102 @@
+package com.jzg.quotation.taikang.ee;
+
+import com.jzg.quotation.taikang.client.UnknownFieldEntity;
+import lombok.Getter;
+import lombok.Setter;
+
+import java.math.BigDecimal;
+
+@Setter
+@Getter
+public class CarModel extends UnknownFieldEntity {
+
+    /**
+     * 车辆重量
+     */
+    private BigDecimal vehicleWeight;
+
+    /**
+     * 车辆信息
+     */
+    private VehicleJingyou vehicleJingyou;
+
+    /**
+     * 车牌号
+     */
+    private String licenseNo;
+
+    /**
+     * 市场年份
+     */
+    private String marketYear;
+
+    /**
+     * 品牌中文
+     */
+    private String brandCN;
+
+    /**
+     * 重置价值
+     */
+    private BigDecimal replacementValue;
+
+    /**
+     * 车牌类型
+     */
+    private String licenseType;
+
+    /**
+     * 车型名称
+     */
+    private String modelName;
+
+    /**
+     * 燃料类型
+     */
+    private String fuelType;
+
+    /**
+     * 额定载客量
+     */
+    private BigDecimal ratedPassengerCapacity;
+
+    /**
+     * 车型代码
+     */
+    private String modelCode;
+
+    /**
+     * 系列
+     */
+    private String series;
+
+    /**
+     * 安全气囊数量
+     */
+    private BigDecimal airbagNum;
+
+    /**
+     * 排量
+     */
+    private BigDecimal displacement;
+
+    /**
+     * 行业车型名称
+     */
+    private String industryModelName;
+
+    /**
+     * 吨位
+     */
+    private BigDecimal tonnage;
+
+    /**
+     * 行业车型代码
+     */
+    private String industryModelCode;
+
+    @Override
+    protected void addChildUnknownFields() {
+        addChildUnknownField("vehicleJingyou", vehicleJingyou);
+    }
+}

+ 47 - 0
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/ee/CarOwnerVo.java

@@ -5,9 +5,55 @@ import com.jzg.quotation.taikang.client.UnknownFieldEntity;
 import lombok.Getter;
 import lombok.Setter;
 
+import java.math.BigDecimal;
+
 @Getter
 @Setter
 public class CarOwnerVo extends UnknownFieldEntity {
+    /**
+     * 性别
+     */
+    private String sex;
+
+    /**
+     * 认证结果
+     */
+    private String authResult;
+
+    /**
+     * 姓名
+     */
+    private String name;
+
+    /**
+     * VIP等级
+     */
+    private String vipLifeLevel;
+
+    /**
+     * 身份证号
+     */
+    private String id;
+
+    /**
+     * 出生日期
+     */
+    private String birthDate;
+
+    /**
+     * 车主性质
+     */
+    private String carOwnerNature;
+
+    /**
+     * 证件类型
+     */
+    private String certificateType;
+
+    /**
+     * 序列号
+     */
+    private BigDecimal serialno;
 
     /**
      * 被保人省份代码
@@ -16,6 +62,7 @@ public class CarOwnerVo extends UnknownFieldEntity {
 
     /**
      * 被保人地址
+     * 投保地址
      */
     private String insuredAddress;
 

+ 10 - 0
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/ee/ChargingPostDto.java

@@ -0,0 +1,10 @@
+package com.jzg.quotation.taikang.ee;
+
+import com.jzg.quotation.taikang.client.UnknownFieldEntity;
+import lombok.Getter;
+import lombok.Setter;
+
+@Setter
+@Getter
+public class ChargingPostDto extends UnknownFieldEntity {
+}

+ 3 - 3
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/ee/CiKindsVo.java

@@ -14,11 +14,11 @@ public class CiKindsVo extends UnknownFieldEntity {
 
     /**
      * 是否不投保标志
-     *
+     * <p>
      * 推测:表示某个保险种类是否选择不投保。
-     *
+     * <p>
      * 如果 isNoInsureFlag 为 "1",则表示该保险种类选择不投保。
-     *
+     * <p>
      * 如果 isNoInsureFlag 为 "0",则表示该保险种类选择投保。
      */
     private String isNoInsureFlag;

+ 6 - 0
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/ee/DriverAccidentVo.java

@@ -64,10 +64,16 @@ public class DriverAccidentVo extends UnknownFieldEntity {
      */
     private String selectPlanCode;
 
+    /**
+     * 报价金额中文
+     */
+    private String quoteAmountCN;
+
     @Override
     protected void addChildUnknownFields() {
         addChildUnknownField("carPlanInfoList", carPlanInfoList);
         addChildUnknownField("quantityList", quantityList);
+        addChildUnknownField("quoteAmountCN", quoteAmountCN);
     }
 
 }

+ 68 - 0
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/ee/NewEnergyItemKind.java

@@ -0,0 +1,68 @@
+package com.jzg.quotation.taikang.ee;
+
+import com.jzg.quotation.taikang.client.UnknownFieldEntity;
+import lombok.Getter;
+import lombok.Setter;
+
+import java.math.BigDecimal;
+
+@Setter
+@Getter
+public class NewEnergyItemKind extends UnknownFieldEntity {
+
+    /**
+     * 单位类型
+     */
+    private String unitType;
+
+    /**
+     * 标准保费
+     */
+    private BigDecimal stantardPremium;
+
+    /**
+     * 金额
+     */
+    private BigDecimal amount;
+
+    /**
+     * 免赔率
+     */
+    private BigDecimal deductibleRate;
+
+    /**
+     * 非假日保额
+     */
+    private BigDecimal unholidaySumInsured;
+
+    /**
+     * 种类代码
+     */
+    private String kindCode;
+
+    /**
+     * 保费
+     */
+    private BigDecimal premium;
+
+    /**
+     * 免赔额
+     */
+    private BigDecimal deductibleAmount;
+
+    /**
+     * 模式代码
+     */
+    private Integer modeCode;
+
+    /**
+     * 种类名称
+     */
+    private String kindName;
+
+    /**
+     * 种类标志
+     */
+    private String kindInd;
+
+}

+ 64 - 0
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/ee/OrderInfoVoCI.java

@@ -0,0 +1,64 @@
+package com.jzg.quotation.taikang.ee;
+
+import com.jzg.quotation.taikang.client.UnknownFieldEntity;
+import lombok.Getter;
+import lombok.Setter;
+
+import java.util.List;
+
+@Setter
+@Getter
+public class OrderInfoVoCI extends UnknownFieldEntity {
+
+    /**
+     * 投保年限
+     */
+    private Integer insureYears;
+
+    /**
+     * 商业险结束日期
+     */
+    private String endDateCIP;
+
+    /**
+     * 设备列表
+     */
+    private List<Device> deviceList;
+
+    /**
+     * 商业险保费
+     */
+    private String syPremium;
+
+    /**
+     * 风险代码
+     */
+    private String riskCode;
+
+    /**
+     * 商业险开始日期
+     */
+    private String startDateCIP;
+
+    /**
+     * 充电桩信息
+     */
+    private List<ChargingPostDto> chargingPostDtos;
+
+    /**
+     * 理赔次数
+     */
+    private Integer claimTimes;
+
+    /**
+     * 所有种类
+     */
+    private List<AllKind> allKinds;
+
+    @Override
+    protected void addChildUnknownFields() {
+        addChildUnknownField("deviceList", deviceList);
+        addChildUnknownField("chargingPostDtos", chargingPostDtos);
+        addChildUnknownField("allKinds", allKinds);
+    }
+}

+ 202 - 0
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/ee/VehicleJingyou.java

@@ -0,0 +1,202 @@
+package com.jzg.quotation.taikang.ee;
+
+import com.jzg.quotation.taikang.client.UnknownFieldEntity;
+import lombok.Getter;
+import lombok.Setter;
+
+import java.math.BigDecimal;
+
+@Setter
+@Getter
+public class VehicleJingyou extends UnknownFieldEntity {
+
+    /**
+     * 工厂代码
+     */
+    private String factoryCode;
+
+    /**
+     * 车辆名称
+     */
+    private String vehicleName;
+
+    /**
+     * 备注
+     */
+    private String remark;
+
+    /**
+     * 最大座位数
+     */
+    private String seatMax;
+
+    /**
+     * 状态名称
+     */
+    private String hfName;
+
+    /**
+     * 风险类型
+     */
+    private String riskType;
+
+    /**
+     * 价格
+     */
+    private String price;
+
+    /**
+     * 家族名称
+     */
+    private String familyName;
+
+    /**
+     * 进口标志
+     */
+    private String importFlag;
+
+    /**
+     * 排量
+     */
+    private String displacement;
+
+    /**
+     * 市场日期
+     */
+    private String marketDate;
+
+    /**
+     * 吨位
+     */
+    private String tonnage;
+
+    /**
+     * 车辆分类代码
+     */
+    private String vehicleClassCode;
+
+    /**
+     * 交强险分类名称
+     */
+    private String jqxClassName;
+
+    /**
+     * 功率
+     */
+    private String power;
+
+    /**
+     * 车辆别名
+     */
+    private String vehicleAlias;
+
+    /**
+     * 车辆代码
+     */
+    private String vehicleHyCode;
+
+    /**
+     * 最小座位数
+     */
+    private String seatMin;
+
+    /**
+     * 商业险分类名称
+     */
+    private String syxClassName;
+
+    /**
+     * 进口标志代码
+     */
+    private String importFlagCode;
+
+    /**
+     * 亲属价格税
+     */
+    private BigDecimal kindredPriceTax;
+
+    /**
+     * 品牌名称
+     */
+    private String brandName;
+
+    /**
+     * 家族代码
+     */
+    private String familyCode;
+
+    /**
+     * 交强险分类ID
+     */
+    private String jqxClassId;
+
+    /**
+     * 最大总重量
+     */
+    private String fullWeightMax;
+
+    /**
+     * 工厂名称
+     */
+    private String factoryName;
+
+    /**
+     * 车辆代码
+     */
+    private String vehicleCode;
+
+    /**
+     * 座位数
+     */
+    private String seat;
+
+    /**
+     * 车辆分类名称
+     */
+    private String vehicleClassName;
+
+    /**
+     * 车辆名称
+     */
+    private String vehicleHyName;
+
+    /**
+     * 动力类型代码
+     */
+    private String powerTypeCode;
+
+    /**
+     * 动力类型
+     */
+    private String powerType;
+
+    /**
+     * 总重量
+     */
+    private String fullWeight;
+
+    /**
+     * 亲属价格
+     */
+    private BigDecimal kindredPrice;
+
+    /**
+     * 含税价格
+     */
+    private BigDecimal taxPrice;
+
+    /**
+     * 商业险分类ID
+     */
+    private String syxClassId;
+
+    /**
+     * 最小总重量
+     */
+    private String fullWeightMin;
+
+    /**
+     * 状态代码
+     */
+    private String hfCode;
+}

+ 1 - 1
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/entity/InitIdentityResult.java

@@ -10,7 +10,7 @@ import java.util.List;
 @Setter
 @Getter
 public class InitIdentityResult extends UnknownFieldEntity {
-    public static class Response extends BaseResponse<InitIdentityResult>{};
+    public static class Response extends BaseResponse<InitIdentityResult>{}
 
     @Setter
     @Getter

+ 12 - 0
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/entity/InitQuotationParam.java

@@ -0,0 +1,12 @@
+package com.jzg.quotation.taikang.entity;
+
+import lombok.Getter;
+import lombok.Setter;
+
+@Setter
+@Getter
+public class InitQuotationParam {
+    private String channelCode;
+    private String orderID;
+    private String initFlag;
+}

+ 171 - 0
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/entity/InitQuotationResult.java

@@ -0,0 +1,171 @@
+package com.jzg.quotation.taikang.entity;
+
+import com.jzg.quotation.taikang.client.BaseResponse;
+import com.jzg.quotation.taikang.client.UnknownFieldEntity;
+import com.jzg.quotation.taikang.ee.*;
+import lombok.Getter;
+import lombok.Setter;
+
+import java.math.BigDecimal;
+
+@Setter
+@Getter
+public class InitQuotationResult extends UnknownFieldEntity {
+    public static class Response extends BaseResponse<InitQuotationResult> {
+    }
+
+    /**
+     * 报价时间
+     */
+    private String quotationTime;
+
+    /**
+     * 折扣
+     */
+    private BigDecimal bzDisCount;
+
+    /**
+     * 是否为会员
+     */
+    private String isMember;
+
+    /**
+     * 报价编号BI
+     */
+    private String quotationNoBI;
+
+    /**
+     * 报价编号
+     */
+    private String quotationNo;
+
+    /**
+     * 地区名称
+     */
+    private String areaCname;
+
+    /**
+     * 保费信息
+     */
+    private Premium premium;
+
+    /**
+     * 车辆信息
+     */
+    private Car car;
+
+    /**
+     * 公司代码
+     */
+    private String comCode;
+
+    /**
+     * 优惠折扣
+     */
+    private BigDecimal goodStartDiscount;
+
+    /**
+     * 驾意险折扣
+     */
+    private BigDecimal jcbDisCount;
+
+    /**
+     * 佣金金额BI
+     */
+    private BigDecimal commissionAmountBI;
+
+    /**
+     * 订单信息
+     */
+    private OrderInfoVoBZ orderInfoVoBZ;
+
+    /**
+     * 总保费
+     */
+    private String totalPremium;
+
+    /**
+     * 是否投保
+     */
+    private String ciFlag;
+
+    /**
+     * 提示信息
+     */
+    private TipsMessagess tipsMessagess;
+
+    /**
+     * 商业险理赔调整
+     */
+    private String syclaimAdjust;
+
+    /**
+     * 车主信息
+     */
+    private CarOwnerVo carOwnerVo;
+
+    /**
+     * 业务评分
+     */
+    private String businessScore;
+
+    /**
+     * 整体推荐折扣
+     */
+    private BigDecimal entireRecommenDiscount;
+
+    /**
+     * 驾驶员意外险信息
+     */
+    private DriverAccidentVo driverAccidentVo;
+
+    /**
+     * 订单信息
+     */
+    private OrderInfoVoCI orderInfoVoCI;
+
+    /**
+     * 预报价标志
+     */
+    private String preQuoteFlag;
+
+    /**
+     * 标志
+     */
+    private String bzFlag;
+
+    /**
+     * 商业险折扣
+     */
+    private BigDecimal ciDisCount;
+
+    @Override
+    protected void addChildUnknownFields() {
+        addChildUnknownField("premium", premium);
+        addChildUnknownField("car", car);
+        addChildUnknownField("orderInfoVoBZ", orderInfoVoBZ);
+        addChildUnknownField("tipsMessagess", tipsMessagess);
+        addChildUnknownField("carOwnerVo", carOwnerVo);
+        addChildUnknownField("driverAccidentVo", driverAccidentVo);
+        addChildUnknownField("orderInfoVoCI", orderInfoVoCI);
+    }
+
+    @Getter
+    @Setter
+    public static class OrderInfoVoBZ {
+        // 无字段
+    }
+
+    @Getter
+    @Setter
+    public static class TipsMessagess {
+
+        /**
+         * 商业险折扣信息
+         */
+        private String syDiscountInfo;
+    }
+
+}
+
+

+ 21 - 0
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/service/TaiKangHttpService.java

@@ -537,4 +537,25 @@ public class TaiKangHttpService {
 
         return response.getData();
     }
+
+    /**
+     *
+     *
+     * @return
+     */
+    public AgentTaxResult initQuotation(String tplatformId, String orderId) {
+        AgentTaxParam param = new AgentTaxParam();
+        param.setChannelCode("OffWeb");
+        param.setOrderID(orderId);
+        param.setTplatformId(tplatformId);
+
+        HttpHeaders httpHeaders = new HttpHeaders();
+        httpHeaders.add("tkCarRequestToken", token());
+
+        AgentTaxResult.Response response = client.request(HttpURL.initQuotation, param, httpHeaders, AgentTaxResult.Response.class);
+
+        checkResponseUnknownField(response);
+
+        return response.getData();
+    }
 }

Разлика између датотеке није приказан због своје велике величине
+ 0 - 0
tenant/insurance/quotation-taikang/src/test/java/com/jzg/quotation/taikang/AESDecryptorTest.java


Разлика између датотеке није приказан због своје велике величине
+ 12 - 0
tenant/insurance/quotation-taikang/src/test/java/com/jzg/quotation/taikang/entity/InitQuotationResultTest.java


+ 34 - 0
tenant/insurance/quotation-taikang/src/test/java/com/jzg/quotation/taikang/service/TaiKangHttpServiceTest1.java

@@ -926,4 +926,38 @@ public class TaiKangHttpServiceTest1 {
         assertNull(unknownFields);
     }
 
+
+    @Test
+    @Order(15)
+    public void initQuotation() {
+        // feda77e829d4dedbbd8b4e236bacfac5
+        String tplatformId = TaiKangHttpServiceTest1.loginResult.getTplatformId();
+
+        // 0114
+        String comCode = TaiKangHttpServiceTest1.loginResult.getWebsysUserVo().getWebsysUserAreaVos().get(0).getAreacode();
+
+        // 1e6cbb3bf08e8cb8f8c684cff0ee5e161
+        String tplatLoginKey = TaiKangHttpServiceTest1.loginResult.getTplatLoginKey();
+
+        // 67107
+        String fromid = TaiKangHttpServiceTest1.loginResult.getWebsysUserVo().getFromid();
+
+
+
+
+
+        AgentTaxResult result = taiKangHttpService.initQuotation(tplatformId, "WBPC202503061106595800000");
+
+        assertNotNull(result);
+
+        System.out.println();
+        System.out.println(JSON.toJSONString(result));
+
+        Map<String, Object> unknownFields = result.getUnknownFields();
+
+        System.out.println("unknownFields:  " + JSON.toJSONString(unknownFields));
+
+        assertNull(unknownFields);
+    }
+
 }

Неке датотеке нису приказане због велике количине промена