Răsfoiți Sursa

添加泰康 添加 InitProposalResult 结构

wlq 1 an în urmă
părinte
comite
734191d812

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

@@ -10,6 +10,8 @@ public interface HttpURL {
 
     String basicInfo = host + "/carSelfService/rest/init/basicInfo";
     String initQuotation = host + "/carSelfService/rest/init/quotation";
+
+    String initProposal = host + "/carSelfService/rest/init/proposal";
     /**
      * 车辆大类
      */

+ 20 - 0
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/ee/City.java

@@ -0,0 +1,20 @@
+package com.jzg.quotation.taikang.ee;
+
+import com.jzg.quotation.taikang.client.UnknownFieldEntity;
+import lombok.Getter;
+import lombok.Setter;
+
+@Setter
+@Getter
+public class City extends UnknownFieldEntity {
+
+    /**
+     * 城市中文名称
+     */
+    private String codeCname;
+
+    /**
+     * 城市代码
+     */
+    private String codeCode;
+}

+ 19 - 0
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/ee/IdentifyCompany.java

@@ -0,0 +1,19 @@
+package com.jzg.quotation.taikang.ee;
+
+import com.jzg.quotation.taikang.client.UnknownFieldEntity;
+import lombok.Getter;
+import lombok.Setter;
+
+@Getter
+@Setter
+public class IdentifyCompany extends UnknownFieldEntity {
+    /**
+     * 代码
+     */
+    private String code;
+
+    /**
+     * 代码名称
+     */
+    private String codeName;
+}

+ 19 - 0
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/ee/IdentifyPerson.java

@@ -0,0 +1,19 @@
+package com.jzg.quotation.taikang.ee;
+
+import com.jzg.quotation.taikang.client.UnknownFieldEntity;
+import lombok.Getter;
+import lombok.Setter;
+
+@Getter
+@Setter
+public class IdentifyPerson extends UnknownFieldEntity {
+    /**
+     * 代码
+     */
+    private String code;
+
+    /**
+     * 代码名称
+     */
+    private String codeName;
+}

+ 27 - 0
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/ee/IdentifyTypeMap.java

@@ -0,0 +1,27 @@
+package com.jzg.quotation.taikang.ee;
+
+import com.jzg.quotation.taikang.client.UnknownFieldEntity;
+import lombok.Getter;
+import lombok.Setter;
+
+import java.util.List;
+
+@Getter
+@Setter
+public class IdentifyTypeMap extends UnknownFieldEntity {
+    /**
+     * 组织机构识别类型列表
+     */
+    private List<IdentifyCompany> identifyCompany;
+
+    /**
+     * 个人识别类型列表
+     */
+    private List<IdentifyPerson> identifyPerson;
+
+    @Override
+    protected void addChildUnknownFields() {
+        addChildUnknownField("identifyCompany", identifyCompany);
+        addChildUnknownField("identifyPerson", identifyPerson);
+    }
+}

+ 45 - 0
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/ee/Province.java

@@ -0,0 +1,45 @@
+package com.jzg.quotation.taikang.ee;
+
+import com.jzg.quotation.taikang.client.UnknownFieldEntity;
+import lombok.Getter;
+import lombok.Setter;
+
+@Setter
+@Getter
+public class Province extends UnknownFieldEntity {
+
+    /**
+     * 代码英文名称(可能是用于前端展示的)
+     */
+    private String codeEname;
+
+    /**
+     * 标志
+     */
+    private String flag;
+
+    /**
+     * 代码中文名称
+     */
+    private String codeCname;
+
+    /**
+     * 代码类型
+     */
+    private String codeType;
+
+    /**
+     * 有效状态
+     */
+    private String validStatus;
+
+    /**
+     * 代码
+     */
+    private String codeCode;
+
+    /**
+     * 新代码(可能是用于特定场景的简化代码)
+     */
+    private String newCodecode;
+}

+ 14 - 0
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/entity/InitProposalParam.java

@@ -0,0 +1,14 @@
+package com.jzg.quotation.taikang.entity;
+
+import com.jzg.quotation.taikang.client.UnknownFieldEntity;
+import lombok.Getter;
+import lombok.Setter;
+
+@Setter
+@Getter
+public class InitProposalParam extends UnknownFieldEntity {
+    private String channelCode;
+    private String tplatformId;
+    private String orderID;
+    private String tplatLoginKey;
+}

+ 117 - 0
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/entity/InitProposalResult.java

@@ -0,0 +1,117 @@
+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.CarOwnerVo;
+import com.jzg.quotation.taikang.ee.City;
+import com.jzg.quotation.taikang.ee.IdentifyTypeMap;
+import com.jzg.quotation.taikang.ee.Province;
+import lombok.Getter;
+import lombok.Setter;
+
+import java.util.List;
+
+@Setter
+@Getter
+public class InitProposalResult extends UnknownFieldEntity {
+    public static class Response extends BaseResponse<InitProposalResult> {
+    }
+
+    /**
+     * 车牌号
+     */
+    private String licenseNo;
+
+    /**
+     * 消息发送标志
+     */
+    private String messageSendFlag;
+
+    /**
+     * 身份证OCR标志
+     */
+    private String idcardOcrFlag;
+
+    /**
+     * 城市代码
+     */
+    private String cityCode;
+
+    /**
+     * 省份代码
+     */
+    private String provinceCode;
+
+    /**
+     * 续保标志
+     */
+    private String renewalFlag;
+
+    /**
+     * 城市列表
+     */
+    private List<City> cityList;
+
+    /**
+     * 提案类型
+     */
+    private String proposalType;
+
+    /**
+     * 车主信息
+     */
+    private CarOwnerVo carOwnerVo;
+
+    /**
+     * 识别类型映射
+     */
+    private IdentifyTypeMap identifyTypeMap;
+
+    /**
+     * 省份列表
+     */
+    private List<Province> provinceList;
+
+    /**
+     * 实名认证标志
+     */
+    private String realName;
+
+    /**
+     * 车辆类型
+     */
+    private String carType;
+
+    /**
+     * 城市名称
+     */
+    private String cityName;
+
+    /**
+     * 险种类型
+     */
+    private String policyType;
+
+    /**
+     * 省份名称
+     */
+    private String provinceName;
+
+    /**
+     * 公司代码
+     */
+    private String comCode;
+
+    /**
+     * 发行代码
+     */
+    private String issueCode;
+
+    @Override
+    protected void addChildUnknownFields() {
+        addChildUnknownField("cityList", cityList);
+        addChildUnknownField("carOwnerVo", carOwnerVo);
+        addChildUnknownField("identifyTypeMap", identifyTypeMap);
+        addChildUnknownField("provinceList", provinceList);
+    }
+}

Fișier diff suprimat deoarece este prea mare
+ 0 - 0
tenant/insurance/quotation-taikang/src/test/java/com/jzg/quotation/taikang/AESDecryptorTest.java


Fișier diff suprimat deoarece este prea mare
+ 13 - 0
tenant/insurance/quotation-taikang/src/test/java/com/jzg/quotation/taikang/entity/InitProposalResultTest.java


Unele fișiere nu au fost afișate deoarece prea multe fișiere au fost modificate în acest diff