Răsfoiți Sursa

添加泰康 已完成的保单查询 测试orderCompleteAgent多条件响应速度,和一个条件一样

wlq 1 an în urmă
părinte
comite
4551bbbe0e

+ 1507 - 0
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/model/api/OrderCompleteAgentResult.java

@@ -1,14 +1,1521 @@
 package com.jzg.quotation.taikang.model.api;
 
+import com.fasterxml.jackson.annotation.JsonAnySetter;
 import com.jzg.quotation.taikang.client.BaseResponse;
 import com.jzg.quotation.taikang.client.UnknownFieldEntity;
 import lombok.Getter;
 import lombok.Setter;
 
+import java.math.BigDecimal;
+import java.util.LinkedHashMap;
+import java.util.List;
+
+/**
+ * 字段太多,只列了一些
+ */
 @Setter
 @Getter
 public class OrderCompleteAgentResult extends UnknownFieldEntity {
     public static final class Response extends BaseResponse<OrderCompleteAgentResult> {
     }
 
+    private List<OrderCompleteAgentResultEntity> list;
+
+    /**
+     * 这个类就不要继承 UnknownFieldEntity 了,字段太多。
+     */
+    @Setter
+    @Getter
+    public static final class OrderCompleteAgentResultEntity {
+        @JsonAnySetter
+        public final void jacksonAddUnknownFields(String key, Object value) {
+            // 忽略所有未定义的字段
+        }
+
+        /**
+         * 订单ID
+         */
+        private String orderId;
+
+        /**
+         * 保单号
+         */
+        private String policyNo;
+
+        /**
+         * 投保单号
+         */
+        private String proposalNo;
+
+        /**
+         * 险种代码
+         */
+        private String riskCode;
+
+        /**
+         * 同意驾驶员标志
+         */
+        private String agreeDriverFlag;
+
+        /**
+         * 新设备标志
+         */
+        private String newDeviceFlag;
+
+        /**
+         * 车牌号
+         */
+        private String licenseNo;
+
+        /**
+         * 车牌颜色代码
+         */
+        private String licenseColorCode;
+
+        /**
+         * 车辆种类代码
+         */
+        private String carKindCode;
+
+        /**
+         * 发动机号
+         */
+        private String engineNo;
+
+        /**
+         * 车架号
+         */
+        private String vinNo;
+
+        /**
+         * 行驶里程代码
+         */
+        private String runmilesCode;
+
+        /**
+         * 行驶里程名称
+         */
+        private String runmilesName;
+
+        /**
+         * 行驶里程
+         */
+        private BigDecimal runmiles;
+
+        /**
+         * 注册日期
+         */
+        private String enrollDate;
+
+        /**
+         * 使用年限
+         */
+        private Integer useYears;
+
+        /**
+         * 车型代码
+         */
+        private String modelCode;
+
+        /**
+         * 品牌名称
+         */
+        private String brandName;
+
+        /**
+         * 国家性质
+         */
+        private String countryNature;
+
+        /**
+         * 国家代码
+         */
+        private String countryCode;
+
+        /**
+         * 使用性质代码
+         */
+        private String useNatureCode;
+
+        /**
+         * 座位数
+         */
+        private Integer seatCount;
+
+        /**
+         * 吨位数
+         */
+        private BigDecimal tonCount;
+
+        /**
+         * 排量
+         */
+        private BigDecimal exhaustsCale;
+
+        /**
+         * 牌照种类代码
+         */
+        private String licenseKindCode;
+
+        /**
+         * 颜色代码
+         */
+        private String colorCode;
+
+        /**
+         * 其他性质
+         */
+        private String otherNature;
+
+        /**
+         * 制造日期
+         */
+        private String makeDate;
+
+        /**
+         * 币种
+         */
+        private String currency;
+
+        /**
+         * 购买价格
+         */
+        private BigDecimal purchasePrice;
+
+        /**
+         * 实际价值
+         */
+        private BigDecimal actualValue;
+
+        /**
+         * 发票号
+         */
+        private String invoiceNo;
+
+        /**
+         * 车辆检查状态
+         */
+        private String carCheckStatus;
+
+        /**
+         * 车辆检查人
+         */
+        private String carChecker;
+
+        /**
+         * 车辆检查时间
+         */
+        private String carCheckTime;
+
+        /**
+         * 车辆检查原因
+         */
+        private String carCheckReason;
+
+        /**
+         * 注册车型代码
+         */
+        private String registModelCode;
+
+        /**
+         * 行驶区域描述
+         */
+        private String runAreaDesc;
+
+        /**
+         * 使用月数
+         */
+        private Integer useMonths;
+
+        /**
+         * 车型损失率
+         */
+        private BigDecimal modelLosration;
+
+        /**
+         * 备注
+         */
+        private String remark;
+
+        /**
+         * 标志
+         */
+        private String flag;
+
+        /**
+         * 燃油类型
+         */
+        private String fualType;
+
+        /**
+         * 是否车牌号
+         */
+        private String isLicenseNo;
+
+        /**
+         * 交强险保单号
+         */
+        private String jqpolicyNo;
+
+        /**
+         * 交强险投保单号
+         */
+        private String jqproposalNo;
+
+        /**
+         * 交强险险种代码
+         */
+        private String jqriskCode;
+
+        /**
+         * 进口标志
+         */
+        private String importFlag;
+
+        /**
+         * 车型名称
+         */
+        private String modelName;
+
+        /**
+         * 整备质量
+         */
+        private BigDecimal completeKerbmass;
+
+        /**
+         * 车主变更标志
+         */
+        private String chgownerFlag;
+
+        /**
+         * 车辆类别
+         */
+        private String vehicleCategory;
+
+        /**
+         * 车队标志
+         */
+        private String fleetFlag;
+
+        /**
+         * 车辆注册
+         */
+        private String carregiste;
+
+        /**
+         * 车辆类型别名
+         */
+        private String carTypeAlias;
+
+        /**
+         * 车辆代码
+         */
+        private String vehicleCode;
+
+        /**
+         * 过户日期
+         */
+        private String transferDate;
+
+        /**
+         * 车系
+         */
+        private String series;
+
+        /**
+         * 实际价值
+         */
+        private BigDecimal hangactualValue;
+
+        /**
+         * 车系代码
+         */
+        private String seriesCode;
+
+        /**
+         * 纯风险保费
+         */
+        private BigDecimal pureriskPremium;
+
+        /**
+         * 纯风险保费标志
+         */
+        private String pureriskPremiumFlag;
+
+        /**
+         * 车辆名称
+         */
+        private String carName;
+
+        /**
+         * 通知类型
+         */
+        private String noticeType;
+
+        /**
+         * 车辆类型
+         */
+        private String vehicleType;
+
+        /**
+         * 车辆编号
+         */
+        private String vehicleNo;
+
+        /**
+         * 车辆日期
+         */
+        private String vehicleDate;
+
+        /**
+         * 销售公司
+         */
+        private String saleCompany;
+
+        /**
+         * 销售区域省份代码
+         */
+        private String saleAreaProvinceCode;
+
+        /**
+         * 销售区域城市代码
+         */
+        private String saleAreaCityCode;
+
+        /**
+         * 是否4S店
+         */
+        private String isFourS;
+
+        /**
+         * 被保险人
+         */
+        private String insured;
+
+        /**
+         * 微信OpenId
+         */
+        private String openId;
+
+        /**
+         * 订单日期
+         */
+        private String orderDate;
+
+        /**
+         * 分类代码
+         */
+        private String classCode;
+
+        /**
+         * 险种中文名称
+         */
+        private String riskCname;
+
+        /**
+         * 险种英文名称
+         */
+        private String riskEname;
+
+        /**
+         * 保单类型
+         */
+        private String policyType;
+
+        /**
+         * 保单性质
+         */
+        private String policyNature;
+
+        /**
+         * 投保单类型
+         */
+        private String appliPolicyType;
+
+        /**
+         * 业务性质
+         */
+        private String bussinessNature;
+
+        /**
+         * 请求ID
+         */
+        private String requestId;
+
+        /**
+         * 投保人中文名称
+         */
+        private String appliCname;
+
+        /**
+         * 会员等级
+         */
+        private String lifeVipLevel;
+
+        /**
+         * 被保险人代码
+         */
+        private String insuredCode;
+
+        /**
+         * 被保险人中文名称
+         */
+        private String insuredCname;
+
+        /**
+         * 被保险人中文地址
+         */
+        private String insuredCaddress;
+
+        /**
+         * 起保日期
+         */
+        private String startDate;
+
+        /**
+         * 交强险起保日期
+         */
+        private String startDateJCB;
+
+        /**
+         * 交强险终保日期
+         */
+        private String endDateJCB;
+
+        /**
+         * 交强险保单号
+         */
+        private String policyNoJCB;
+
+        /**
+         * 交强险总保费
+         */
+        private BigDecimal sumGrossPremiumJCB;
+
+        /**
+         * 起保小时
+         */
+        private String startHour;
+
+        /**
+         * 终保日期
+         */
+        private String endDate;
+
+        /**
+         * 终保小时
+         */
+        private String endHour;
+
+        /**
+         * 渠道来源
+         */
+        private String channelSource;
+
+        /**
+         * 总金额
+         */
+        private BigDecimal sumAmount;
+
+        /**
+         * 总保费
+         */
+        private BigDecimal sumPremium;
+
+        /**
+         * 支付方式
+         */
+        private String payWay;
+
+        /**
+         * 支付日期
+         */
+        private String paymentDate;
+
+        /**
+         * 支付币种
+         */
+        private String payCurrency;
+
+        /**
+         * 总折扣
+         */
+        private BigDecimal sumDiscount;
+
+        /**
+         * 出单机构
+         */
+        private String makecom;
+
+        /**
+         * 出单机构名称
+         */
+        private String makecomName;
+
+        /**
+         * 所属机构代码
+         */
+        private String ownerComcode;
+
+        /**
+         * 所属机构名称
+         */
+        private String ownerComname;
+
+        /**
+         * 所属用户代码
+         */
+        private String ownerUsercode;
+
+        /**
+         * 所属用户名称
+         */
+        private String ownerUsername;
+
+        /**
+         * 经办人代码
+         */
+        private String handlerCode;
+
+        /**
+         * 经办人名称
+         */
+        private String handlerName;
+
+        /**
+         * 核保标志
+         */
+        private String underwriteFlag;
+
+        /**
+         * 核保结束日期
+         */
+        private String underwriteEndDate;
+
+        /**
+         * 操作员代码
+         */
+        private String operatorCode;
+
+        /**
+         * 操作日期
+         */
+        private String operateDate;
+
+        /**
+         * 录入日期
+         */
+        private String inputDate;
+
+        /**
+         * 签单日期
+         */
+        private String signDate;
+
+        /**
+         * 出单日期
+         */
+        private String issuingDate;
+
+        /**
+         * 争议解决方式
+         */
+        private String disputeResolution;
+
+        /**
+         * 管辖地
+         */
+        private String jurisdiction;
+
+        /**
+         * 支付状态
+         */
+        private String payStatus;
+
+        /**
+         * 绝对免赔额
+         */
+        private BigDecimal absoluteavoidFee;
+
+        /**
+         * 绝对免赔率
+         */
+        private BigDecimal absoluteavoidRate;
+
+        /**
+         * 最大金额
+         */
+        private BigDecimal maxAmount;
+
+        /**
+         * 有效状态
+         */
+        private String validStatus;
+
+        /**
+         * 订单状态
+         */
+        private String orderStatus;
+
+        /**
+         * 省份
+         */
+        private String province;
+
+        /**
+         * 省份名称
+         */
+        private String provinceName;
+
+        /**
+         * 城市
+         */
+        private String city;
+
+        /**
+         * 城市名称
+         */
+        private String cityName;
+
+        /**
+         * 国家
+         */
+        private String country;
+
+        /**
+         * 国家名称
+         */
+        private String countryName;
+
+        /**
+         * 交强险险种中文名称
+         */
+        private String jqriskCname;
+
+        /**
+         * 交强险起保日期
+         */
+        private String jqstartDate;
+
+        /**
+         * 交强险起保小时
+         */
+        private String jqstartHour;
+
+        /**
+         * 交强险终保日期
+         */
+        private String jqendDate;
+
+        /**
+         * 交强险终保小时
+         */
+        private String jqendHour;
+
+        /**
+         * 支付税款
+         */
+        private BigDecimal payTax;
+
+        /**
+         * 总税款
+         */
+        private BigDecimal sumTax;
+
+        /**
+         * 税款逾期
+         */
+        private BigDecimal taxOverdue;
+
+        /**
+         * 附加费
+         */
+        private BigDecimal surcharge;
+
+        /**
+         * 业务属性
+         */
+        private String businessAttribute;
+
+        /**
+         * 调整率
+         */
+        private BigDecimal adjustRate;
+
+        /**
+         * 主调整率
+         */
+        private BigDecimal mainadjustRate;
+
+        /**
+         * 商业险保费
+         */
+        private BigDecimal syPremium;
+
+        /**
+         * 交强险保费
+         */
+        private BigDecimal jqPremium;
+
+        /**
+         * 不计免赔险保费
+         */
+        private BigDecimal bjKindPremium;
+
+        /**
+         * 总保费
+         */
+        private BigDecimal totalPremium;
+
+        /**
+         * 渠道调整值
+         */
+        private BigDecimal channelAdjustvalue;
+
+        /**
+         * 附加费
+         */
+        private BigDecimal additionalFee;
+
+        /**
+         * 精准号
+         */
+        private String preciseNo;
+
+        /**
+         * 交强险精准号
+         */
+        private String jqpreciseNo;
+
+        /**
+         * 非车险保单号
+         */
+        private String nonCarPolicyNo;
+
+        /**
+         * 交易ID
+         */
+        private String transactionId;
+
+        /**
+         * 上次保单号
+         */
+        private String lastPolicyNo;
+
+        /**
+         * 上次交强险保单号
+         */
+        private String jqlastPolicyNo;
+
+        /**
+         * 识别码
+         */
+        private String identifyingCode;
+
+        /**
+         * 立即生效标志
+         */
+        private String effectiveImmediately;
+
+        /**
+         * 交强险立即生效标志
+         */
+        private String jqeffectiveImmediately;
+
+        /**
+         * 完整投保单号
+         */
+        private String fullProposalNo;
+
+        /**
+         * 订单节点号
+         */
+        private String orderNodeNo;
+
+        /**
+         * 车辆检查前进
+         */
+        private String checkCarForward;
+
+        /**
+         * 提交核保文本
+         */
+        private String submitUndwrtText;
+
+        /**
+         * 完整保单号
+         */
+        private String fullPolicyNo;
+
+        /**
+         * 渠道ID
+         */
+        private String channelId;
+
+        /**
+         * 表单ID
+         */
+        private String formId;
+
+        /**
+         * 续保标志
+         */
+        private String renewalFlag;
+
+        /**
+         * 续保保单备注
+         */
+        private String renewalPolicyBZ;
+
+        /**
+         * 续保保单CI
+         */
+        private String renewalPolicyCI;
+
+        /**
+         * 车辆位置图片
+         */
+        private String carpositionimg;
+
+        /**
+         * 拒赔图片
+         */
+        private String repulseidimg;
+
+        /**
+         * 发送标志
+         */
+        private String sendFlag;
+
+        /**
+         * 车主名称
+         */
+        private String ownerName;
+
+        /**
+         * 手机号
+         */
+        private String mobile;
+
+        /**
+         * 性别
+         */
+        private String sex;
+
+        /**
+         * 需求备注号
+         */
+        private String demandBZNo;
+
+        /**
+         * 过去备注日期
+         */
+        private String pastBZDate;
+
+        /**
+         * 需求号
+         */
+        private String demandNo;
+
+        /**
+         * 过去日期
+         */
+        private String pastDate;
+
+        /**
+         * 寿险公司代码
+         */
+        private String lifeComCode;
+
+        /**
+         * 寿险公司名称
+         */
+        private String lifeComName;
+
+        /**
+         * 寿险代理人代码
+         */
+        private String lifeAgentCode;
+
+        /**
+         * 寿险代理人名称
+         */
+        private String lifeAgentName;
+
+        /**
+         * 物流URL
+         */
+        private String logisticsUrl;
+
+        /**
+         * 机器代码
+         */
+        private String machineCode;
+
+        /**
+         * 用户类型
+         */
+        private String userType;
+
+        /**
+         * 用户ID
+         */
+        private String userId;
+
+        /**
+         * 订单状态描述
+         */
+        private String orderStatusDesc;
+
+        /**
+         * 车辆检查代码
+         */
+        private String checkCarCode;
+
+        /**
+         * 认证标志
+         */
+        private String authenticationFlag;
+
+        /**
+         * 阅读时间
+         */
+        private String readTime;
+
+        /**
+         * 投保人OCR标志
+         */
+        private String applicantOcrFlag;
+
+        /**
+         * 审核意见
+         */
+        private String auditOpinion;
+
+        /**
+         * 备注保单类型
+         */
+        private String bzPolicyType;
+
+        /**
+         * CI保单类型
+         */
+        private String ciPolicyType;
+
+        /**
+         * 公司代码列表
+         */
+        private List<String> comCodeList;
+
+        /**
+         * 查找开始日期
+         */
+        private String findStartDate;
+
+        /**
+         * 查找结束日期
+         */
+        private String findEndDate;
+
+        /**
+         * 公司代码
+         */
+        private String comCode;
+
+        /**
+         * 身份证号
+         */
+        private String identifyNumber;
+
+        /**
+         * 会员ID
+         */
+        private String memberId;
+
+        /**
+         * 是否支付税款
+         */
+        private String isPayTax;
+
+        /**
+         * 被保险人OCR标志
+         */
+        private String insuredOcrFlag;
+
+        /**
+         * 内部员工ID
+         */
+        private String innerStaffID;
+
+        /**
+         * 设备类型
+         */
+        private String deviceType;
+
+        /**
+         * 订单查询角色
+         */
+        private String orderQueryRole;
+
+        /**
+         * 订单跟进角色
+         */
+        private String orderFollowRole;
+
+        /**
+         * 阅读名称
+         */
+        private String readName;
+
+        /**
+         * 订单来源ID
+         */
+        private String orderFromId;
+
+        /**
+         * 微信订单扩展
+         */
+        private String wxOrderExtend;
+
+        /**
+         * 是否直销来源ID
+         */
+        private String isDirectSaleFromId;
+
+        /**
+         * 发票标志
+         */
+        private String invoiceFlag;
+
+        /**
+         * 泰康人寿用户ID
+         */
+        private String tkLifeUserId;
+
+        /**
+         * 活动ID
+         */
+        private String activeId;
+
+        /**
+         * 渠道ID列表
+         */
+        private List<String> channelIdList;
+
+        /**
+         * 失败原因
+         */
+        private String failReason;
+
+        /**
+         * 订单ID令牌
+         */
+        private String orderIDToken;
+
+        /**
+         * 应用代码
+         */
+        private String appCode;
+
+        /**
+         * 代理标志
+         */
+        private String proxyFlag;
+
+        /**
+         * 完整投保单号加密
+         */
+        private String fullProposalNoEnc;
+
+        /**
+         * 身份证类型
+         */
+        private String identifyType;
+
+        /**
+         * 被保险人标志
+         */
+        private String insuredFlag;
+
+        /**
+         * 被保险人性质
+         */
+        private String insuredNature;
+
+        /**
+         * 订单按钮列表
+         */
+        //private List<OrderButton> orderButtonList;
+
+        /**
+         * 支付URL
+         */
+        private String payUrl;
+
+        /**
+         * 来源ID
+         */
+        private String fromId;
+
+        /**
+         * 交强险续保状态
+         */
+        private String jqRenewalStatus;
+
+        /**
+         * 子保单号BI
+         */
+        private String subPolicyNoBi;
+
+        /**
+         * 子保单号CI
+         */
+        private String subPolicyNoCi;
+
+        /**
+         * 录入日期
+         */
+        private String enteringDate;
+
+        /**
+         * 完整保单号加密
+         */
+        private String fullPolicyNoEnc;
+
+        /**
+         * 核保原因
+         */
+        private String underwriteReason;
+
+        /**
+         * 是否保证
+         */
+        private String isEnsure;
+
+        /**
+         * 物流是否存在
+         */
+        private String logisticsExists;
+
+        /**
+         * 备注起保日期
+         */
+        private String startDateBZ;
+
+        /**
+         * 备注终保日期
+         */
+        private String endDateBZ;
+
+        /**
+         * CI起保日期
+         */
+        private String startDateCI;
+
+        /**
+         * CI终保日期
+         */
+        private String endDateCI;
+
+        /**
+         * 订单状态
+         */
+        private String orderStatue;
+
+        /**
+         * 车主
+         */
+        private String carOwner;
+
+        /**
+         * 车主手机号
+         */
+        private String carOwnerMobile;
+
+        /**
+         * 投保被保险人中文名称
+         */
+        private String appInsuredCname;
+
+        /**
+         * 投保人手机号
+         */
+        private String applicantMobile;
+
+        /**
+         * 续保间隔天数
+         */
+        private Integer renewalBetweenDays;
+
+        /**
+         * 车辆事故
+         */
+        private String carAccident;
+
+        /**
+         * 核心订单
+         */
+        private String coreOrder;
+
+        /**
+         * 代理人代码
+         */
+        private String agentCode;
+
+        /**
+         * 代理人名称
+         */
+        private String agentName;
+
+        /**
+         * 续保类型
+         */
+        private String renewType;
+
+        /**
+         * 泰康基金标志
+         */
+        private String tkFoundationFlag;
+
+        /**
+         * 交强险批单列表
+         */
+        private List<String> endorListJQ;
+
+        /**
+         * 商业险批单列表
+         */
+        private List<String> endorListSY;
+
+        /**
+         * 交强险批单列表
+         */
+        private List<String> endorListJCB;
+
+        /**
+         * 代理人电话
+         */
+        private String agentPhone;
+
+        /**
+         * 代理人电话掩码
+         */
+        private String agentPhoneMask;
+
+        /**
+         * 续保处理状态
+         */
+        private String renewHandleStatus;
+
+        /**
+         * 反馈列表
+         */
+        private List<String> feedBackList;
+
+        /**
+         * 保单续保状态
+         */
+        private String policyRenewStatus;
+
+        /**
+         * 续保链接
+         */
+        private String renewLink;
+
+        /**
+         * 保单或孤儿状态
+         */
+        private String policyOrPhanStatus;
+
+        /**
+         * 非车险保费
+         */
+        private BigDecimal nonCarPremium;
+
+        /**
+         * 业务评分
+         */
+        private String businessScore;
+
+        /**
+         * 内部来源ID
+         */
+        private String innerFromId;
+
+        /**
+         * OA ID
+         */
+        private String oaId;
+
+        /**
+         * 车牌号掩码
+         */
+        private String licenseNoMask;
+
+        /**
+         * 折扣类型
+         */
+        private String discountType;
+
+        /**
+         * 查询理赔标志
+         */
+        private String queryClaimFlag;
+
+        /**
+         * VIP标志
+         */
+        private String vipInd;
+
+        /**
+         * 产品代码
+         */
+        private String productCode;
+
+        /**
+         * 燃油类型
+         */
+        private String fuelType;
+
+        /**
+         * 车辆类型
+         */
+        private String carType;
+
+        /**
+         * 交易号
+         */
+        private String transactionNo;
+
+        /**
+         * 未掩码车牌号
+         */
+        private String noMasklicenseNo;
+
+        /**
+         * 渠道公司代码
+         */
+        private String channelComCode;
+
+        /**
+         * 渠道公司名称
+         */
+        private String channelComName;
+
+        /**
+         * 渠道销售名称
+         */
+        private String channelSalesName;
+
+        /**
+         * 渠道销售代码
+         */
+        private String channelSalesCode;
+
+        /**
+         * 渠道销售电话
+         */
+        private String channelSalesPhone;
+
+        /**
+         * 被保险人列表
+         */
+        private List<String> insuredList;
+
+        /**
+         * 非车险支付列表
+         */
+        private List<String> nonVehiclePaymentVos;
+
+        /**
+         * 非车险支付列表
+         */
+        private List<String> guNonVehiclePayments;
+
+        /**
+         * 添加车辆事故标志
+         */
+        private String addCarAccidentFlag;
+
+        /**
+         * 退保标志
+         */
+        private String surrenderInd;
+
+        /**
+         * 上次总保费
+         */
+        private BigDecimal lastSumPremium;
+
+        /**
+         * 报价次数
+         */
+        private Integer quoteTimes;
+
+        /**
+         * 分享次数
+         */
+        private Integer shareTimes;
+
+        /**
+         * 续保筛选标志
+         */
+        private String renewScreeningFlag;
+
+        /**
+         * 出生日期
+         */
+        private String birthDate;
+
+        /**
+         * 报价单号
+         */
+        private String quotationNo;
+
+        /**
+         * 子代理保单标志
+         */
+        private String subAgentPolicyFlag;
+
+        /**
+         * 交强险发票列表
+         */
+        private List<String> invoiceListJCB;
+
+        /**
+         * VIP标志
+         */
+        private String vipFlag;
+
+        /**
+         * 续保年份
+         */
+        private Integer renewYear;
+
+        /**
+         * 投保年限
+         */
+        private Integer insuredYears;
+
+        /**
+         * 当前总保费
+         */
+        private BigDecimal sumpremiumNow;
+
+        /**
+         * 当前交强险保费
+         */
+        private BigDecimal sumpremiumJYNow;
+
+        /**
+         * 比较日期
+         */
+        private String compareDate;
+
+        private String sortFlag;
+        private String invoiceType;
+        private String renewalStatus;
+
+    }
 }
+

+ 18 - 5
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/service/TKHttpAPIService.java

@@ -995,7 +995,7 @@ public class TKHttpAPIService {
     /**
      * 获取发票下载地址
      *
-     * 接口速度大体稳定在 1秒2,可以考虑将结果缓存。
+     * 接口速度大体稳定在 1秒2,可以考虑将结果缓存。再加上反序列化的时间到1秒3了。
      *
      * 不需要 token 也能查询
      *
@@ -1003,7 +1003,7 @@ public class TKHttpAPIService {
      * @param proposalNo
      * @return
      */
-    public OrderCompleteAgentResult orderCompleteAgent(String token, String tplatformId, String proposalNo) {
+    public OrderCompleteAgentResult.OrderCompleteAgentResultEntity orderCompleteAgent(String token, String tplatformId, String proposalNo) {
         OrderCompleteAgentParam param = new OrderCompleteAgentParam();
         param.setChannelCode("OffWeb");
         param.setFullProposalNo(proposalNo);
@@ -1022,10 +1022,23 @@ public class TKHttpAPIService {
 
         OrderCompleteAgentResult.Response response = client.request(HttpURL.orderCompleteAgent, param, httpHeaders, OrderCompleteAgentResult.Response.class);
 
-        if (response != null) {
+        if (response == null) {
             return null;
         }
-        
-        return response.getData();
+
+        OrderCompleteAgentResult data = response.getData();
+
+        if (data == null) {
+            return null;
+
+        }
+
+        List<OrderCompleteAgentResult.OrderCompleteAgentResultEntity> list = data.getList();
+
+        if (list == null || list.isEmpty()) {
+            return null;
+        }
+
+        return list.get(0);
     }
 }

+ 1 - 1
tenant/insurance/quotation-taikang/src/test/java/com/jzg/quotation/taikang/service/TKHttpAPIServiceTest1.java

@@ -1223,7 +1223,7 @@ public class TKHttpAPIServiceTest1 {
 
         long begin = System.currentTimeMillis();
 
-        OrderCompleteAgentResult orderCompleteAgentResult = httpService.orderCompleteAgent(null, tplatformId, no);
+        OrderCompleteAgentResult.OrderCompleteAgentResultEntity orderCompleteAgentResult = httpService.orderCompleteAgent(null, tplatformId, no);
 
         long end = System.currentTimeMillis();