Browse Source

添加泰康 完善核保

wlq 1 năm trước cách đây
mục cha
commit
a4ba6bc8d6
13 tập tin đã thay đổi với 277 bổ sung và 35 xóa
  1. 103 0
      tenant/insurance/quotation-taikang/doc/部分页面JS代码.md
  2. 23 13
      tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/client/HttpService.java
  3. 13 1
      tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/client/HttpURL.java
  4. 1 0
      tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/model/api/EntranceParam.java
  5. 8 8
      tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/model/api/InitProposalResult.java
  6. 44 0
      tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/model/api/TKEntranceFor000012Param.java
  7. 1 1
      tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/model/entity/TKAppliInfo.java
  8. 13 2
      tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/model/entity/TKInsureInfo.java
  9. 3 3
      tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/model/entity/TKInsuredInfo.java
  10. 54 3
      tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/service/TKQuotationBaseServiceImpl.java
  11. 13 3
      tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/service/TKSimpleService.java
  12. 0 0
      tenant/insurance/quotation-taikang/src/test/java/com/jzg/quotation/taikang/AESDecryptorTest.java
  13. 1 1
      tenant/insurance/quotation-taikang/src/test/java/com/jzg/quotation/taikang/service/HttpServiceTest1.java

+ 103 - 0
tenant/insurance/quotation-taikang/doc/部分页面JS代码.md

@@ -181,4 +181,107 @@ var carProduct = {};//车险专属产品
 var selectedButton = '';//选中按钮
 var jcywxcaseListHtmlVIP = []
 var jcywxcaseListHtml = []
+```
+
+
+```js
+export default{
+//	测试环境
+businessType:"wxportalVue",
+API_TOKEN:"/rest/controller/identity",//获取token
+API_QUERYFaillIST:"/rest/group/order/management/queryFailureList", //团车查询失败列表接口
+API_QUERYlIST:"/rest/group/order/management/queryList", //团车查询列表接口
+API_GROUPCARAREAURL:"/carSelfService/rest/group/car/area", //团车管理里的地区接口
+API_COMPUTECLAIM:"/rest/intf/entrance",
+API_COMMONAUTH:'/rest/authController/commonAuth?fromId=FROMID&url=URL',//通用授权地址
+API_BASEURL:"/rest/controller/entrance",//团车详情接口
+API_CLAIMLISTURL:"/rest/order/management/settlement",//赔案查询列表
+API_FLOWLIST:"/rest/order/management/flowList",//T平台进度列表
+API_CLAIMCATALOGUEURL:'/rest/image/query/accessory', // 影像目录信息
+API_CLAIMCATALOGUEURLNEW:'/rest/image/query/photo', // 新影像目录信息
+API_IMAGESYSTEMCALL:'/rest/image/imageSystemCall',//影像图片
+API_IMAGENEWSYSTEMCALL: "/rest/order/management/photoSystemCall", //新影像图片
+API_COMMON:"/rest/controller/entrance",//通用接口
+API_CHECKOLD:"/rest/image/photoSign",
+API_FAILEDURL:"/rest/group/order/management/queryFailureOrderDetails",//团车失败详情接口
+API_PLATFORMINFO :"/rest/init/platformInfo",//平台信息接口
+API_eleProposalNo:"/rest/init/eleProposalNo",//下载电子保单接口
+API_checkCarDeleteFile:"/carCheck/delete",//验车资料删除接口
+API_checkCarSubmit:"/carCheck/submit",// 验车资料上传完成提交接口
+API_imageSystemCall:"/rest/image/imageSystemCall",// 影像上传页面初始化接口
+API_getAereaList:'/rest/group/car/area',//获取团车地址列表
+API_groupCarListURL : '/rest/group/car/query', //团车列表
+API_dialogList :'/rest/group/car/report',//团车申报提交接口
+API_groupimport:'/rest/groupOrder/import',//团车导入接口
+API_groupexport:'/rest/group/order/management/export',//团车导出接口
+API_ReturnModify:'/rest/group/order/management/modify',//失败列表返回修改接口
+API_ReturnModifyPading:'/rest/marketing/synchronizeCachedData',//待处理列表返回修改接口
+API_GroupCarInit:'/rest/group/car/init',//团车业务标签初始化接口
+API_UnionPay:'/rest/group/order/management/unionPay',//合并支付接口
+API_mergePrint:'/rest/init/paymentNoTplatform',//合并打印缴费通知单
+API_externalId:'/customerService/api/externalId',//1.泰生活机器人问答
+API_getPersonalMessageInfo:'/customerService/api/getPersonalMessageInfo',//2.获取上一次人工聊天历史记录
+API_customerExit:'/customerService/api/customerExit',//3.客户端结束会话
+API_sendMsg:'/customerService/api/sendMsg',//4.消息发送
+API_joinQueue:'/customerService/api/joinQueue',//5.请求转人工
+API_getQueueInfo:'/customerService/api/getQueueInfo',//6.实时获取排队数
+API_returnFFQMsg:'/customerService/api/returnFFQMsg',//7.推送前台消息
+API_getFFQMsg:'/api/v2/onlineCusService/getFFQMsg',//8.实时消息获取
+API_queryIllegalRecordList:'/carTKWeWork/rest/controller/queryIllegalRecordList',//9.查询敏感记录列表
+API_queryChatDetailByRegistNo:'/carTKWeWork/rest/controller/queryChatDetailByRegistNo',//10.根据报案号查询聊天记录详情
+API_getToken:'/carTKWeWork/rest/controller/getToken',//11.获取token信息
+API_evaluation:'/customerService/api/evaluation',//12.客户满意度调查
+API_checkScheduleInfo:"/rest/intf/entrance/",//获取理赔进度信息
+API_userLogin: "/rest/tplatform/login", //T平台PC端登录
+API_userLogout: "/rest/tplatform/logout", //T平台PC端注销登录
+API_getPhoneCode: "/rest/tplatform/sendSms", //T平台PC端登录获取手机验证码
+API_checkPhoneCode: "/rest/tplatform/checkCode", //T平台PC端登录校验手机验证码
+API_updateLoginPassword: "/rest/tplatform/updatePassword", //T平台PC端登录更新密码
+API_getCapchaCode: "/rest/tplatform/getCaptcha", //T平台PC端登录图片验证码
+API_captchaCode: "/rest/tplatform/checkCaptcha", //T平台PC端登录校验图片验证码
+API_findLocalCache:"/rest/grayEnv/findLocalCache",//获取灰度配置
+API_offlinePayment: "/rest/order/management/agent/offlinePayment", // 生成交易号
+API_paymentChange: "/rest/order/management/agent/paymentChange", // 缴费更改
+pendingOrderInfoAgent:"/rest/order/management/agent/pendingAgent",//订单管理待处理查询接口
+unpaidInfoAgent:"/rest/order/management/agent/paymentAgent",//订单管理待支付查询接口
+completedInfoAgent:"/rest/order/management/agent/completeAgent",//订单管理已完成查询接口
+lapseOrderInfoAgent:"/rest/order/management/agent/invalidAgent",//订单管理已失效查询接口
+getRenewalInfo:"/rest/init/renewal",//订单管理已完成查询接口
+getjqandsyArea:"/rest/init/basicData",//订单管理已完成查询接口
+renewalAgent:"/rest/order/management/agent/renewalAgent",//续保管理查询接口
+policyInvoice:"/rest/order/management/noncar/policy",//驾承保保单
+updatePayOrder:"/rest/ordermange/updatePayOrder",//渠道待支付重新投保
+eleProposalNo2:"/rest/proposal/download",
+showPolicy:"/rest/image/download/policy",// 保单信息
+showInvoice:"/rest/image/getInvoiceURL",// 发票信息
+premiumPagejcywInit:"/rest/car/accident/init",// 加购驾意险报价页面初始化接口
+cancel:"/rest/order/management/cancel",//取消订单
+withDrawn:"/rest/order/management/agent/retract",//撤回订单
+goRenewalPage:"/rest/order/management/agent/syncRenewalData",//续保接口
+unionPay:"/rest/group/order/management/unionPay",//合并支付
+unpaidInfoAgenChecked:"/rest/init/paymentNoTplatform",//打印缴费通知单
+sendEmailInvoice:"/rest/image/sendElectronicInvoice",//电子发票发送至邮箱
+sendEmailPolicy:"/rest/image/reSendEmail",//电子保单发送至邮箱
+getRiskScore:"/rest/precise/riskScore/query",//风控信息接口
+API_getInitInfo:"/rest/company/taxinfo/query",//获取纳税人信息
+API_getProvinceCity:"/rest/init/company/location",//获取配送省市信息
+API_submitTaxInfo:"/rest/order/management/agent/reissueInvoice",//保存发票信息
+downTemplateList : '/carCheck/attorneyList', // 委托书列表
+API_QUOTElIST :"/rest/group/order/management/queryQuickQuoteList",//获取快速报价列表
+API_groupOCRimport:"/groupOrderImage/ocrQuickRecognition",//团单OCR识别+预填
+API_getOCRLIST:"/rest/groupOrder/queryOcrResult",//团单OCR识别结果查询
+API_groupexportOCR:"/rest/groupOrder/exportOcrResult",//团单导出OCR识别结果
+API_getNewNoticeStatus:"/rest/groupOrder/getNewNoticeStatus",//获取团单最新消息状态
+API_getNoticeMessage:"/rest/groupOrder/getNoticeMessage",//获取团单待提醒消息
+API_uploadCarCheckFile:"/groupOrderImage/uploadCarCheckFile",//团单批量上传验车照
+API_sunmitCar:'/rest/groupOrder/submitCarCheckImage',//团单批量提交验车结果
+tradeChange: '/rest/order/management/agent/tradeChangeList',
+tradeRefund: '/rest/order/management/agent/tradeBackList',
+API_batchDownload: '/rest/groupOrder/epolicyOrEproposal/batchDownload',
+API_ORGANLIST:'/rest/order/management/organList',
+API_findRiskConfig:'/rest/init/findRiskConfig' //数电发票页面录入规则
+//	预生产环境
+
+  //	生产环境
+};
 ```

+ 23 - 13
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/client/HttpService.java

@@ -4,6 +4,7 @@ import com.jzg.quotation.taikang.JsonUtil;
 import com.jzg.quotation.taikang.model.api.*;
 import com.jzg.quotation.taikang.model.entity.TKAgentFuzzy;
 import com.jzg.quotation.taikang.model.entity.TKChgOwnerInfo;
+import com.jzg.quotation.taikang.model.entity.TKInsureInfo;
 import lombok.Setter;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
@@ -546,14 +547,14 @@ public class HttpService {
      *
      * @return
      */
-    public PreciseInitResult preciseInitToVipQuote(String tplatformId, String tplatLoginKey, String orderId, TKChgOwnerInfo TKChgOwnerInfo) {
+    public PreciseInitResult preciseInitToVipQuote(String tplatformId, String tplatLoginKey, String orderId, TKInsureInfo insureInfo) {
         PreciseInitParam param = new PreciseInitParam();
         param.setChannelCode("OffWeb");
         param.setOrderID(orderId);
         param.setTplatformId(tplatformId);
         param.setInitFlag("vip_quote");
         param.setTplatLoginKey(tplatLoginKey);
-        param.setChgOwnerInfo(TKChgOwnerInfo);
+        param.setInsureInfo(insureInfo);
 
         HttpHeaders httpHeaders = new HttpHeaders();
         httpHeaders.add("tkCarRequestToken", token());
@@ -683,7 +684,7 @@ public class HttpService {
 
 
     /**
-     *
+     * 感觉好像是查车主信息的
      *
      * @return
      */
@@ -841,25 +842,34 @@ public class HttpService {
         return response.getData();
     }
 
+    /**
+     * 通用接口,且返回的数据是未加密的 json 数据的情况
+     * @return
+     */
+    public <B> B entranceForJson(Object param, String actionType, Class<B> responseType) {
+        HttpHeaders httpHeaders = new HttpHeaders();
+        httpHeaders.add("Actiontype", actionType);
+        httpHeaders.add("tkCarRequestToken", token());
+
+        B response = client.request(HttpURL.entrance, param, httpHeaders, responseType);
+
+        return response;
+    }
+
     /**
      *
      * entrance 返回的数据是 json 的情况
      * @return
      */
-    public EntranceResult entranceForJson(String tplatformId, String fromId, String orderId) {
-        EntranceParam param = new EntranceParam();
+    public EntranceResult entranceFor000012(String tplatformId, String fromId, String orderId, TKInsureInfo insureInfo) {
+        TKEntranceFor000012Param param = new TKEntranceFor000012Param();
         param.setChannelCode("OffWeb");
+        param.setTplatformId(tplatformId);
         param.setFromID(fromId);
         param.setOrderID(orderId);
-        param.setLeadsid("");
-        param.setReadTime("");
-        param.setIdcardOcrFlag("");
-        param.setCollectFlag("");
-
-        HttpHeaders httpHeaders = new HttpHeaders();
-        httpHeaders.add("tkCarRequestToken", token());
+        param.setInsureInfo(insureInfo);
 
-        EntranceResult.Response response = client.request(HttpURL.entrance, param, httpHeaders, EntranceResult.Response.class);
+        EntranceResult.Response response = entranceForJson(param, "000012", EntranceResult.Response.class);
 
         return response.getData();
     }

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

@@ -80,7 +80,19 @@ public interface HttpURL {
      * 可能返回有关团购订单的最新通知或状态更新信息,帮助用户或系统管理员了解订单的当前状态或最新的活动通知。
      */
     String groupOrderGetNewNoticeStatus = host + "/carSelfService/rest/groupOrder/getNewNoticeStatus";
-    
+
+    /**
+     * 这是个通用接口,包含了很多功能。
+     *
+     * 目测是根据请求头中 actiontype 不同的值执行不同的功能。
+     *
+     * 比如:
+     * 000012:信息保存。估计是保存保险单的车主、发票信息。
+     * 000086:已完成查看保单
+     * 000133:获取验车码
+     * 000021:好像是查询团车详情
+     * 000038:下单。大概是保险单下单的意思。
+     */
     String entrance = host + "/carSelfService/rest/controller/entrance";
 
     String carCheckAttorneyList = host + "/carSelfService/carCheck/attorneyList";

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

@@ -7,6 +7,7 @@ import lombok.Setter;
 @Setter
 @Getter
 public class EntranceParam extends UnknownFieldEntity {
+    private String tplatformId;
 
     /**
      * 渠道代码

+ 8 - 8
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/model/api/InitProposalResult.java

@@ -50,7 +50,7 @@ public class InitProposalResult extends UnknownFieldEntity {
     /**
      * 城市列表
      */
-    private List<TKCity> TKCityList;
+    private List<TKCity> cityList;
 
     /**
      * 提案类型
@@ -60,17 +60,17 @@ public class InitProposalResult extends UnknownFieldEntity {
     /**
      * 车主信息
      */
-    private TKCarOwnerVo TKCarOwnerVo;
+    private TKCarOwnerVo carOwnerVo;
 
     /**
      * 识别类型映射
      */
-    private TKIdentifyTypeMap TKIdentifyTypeMap;
+    private TKIdentifyTypeMap identifyTypeMap;
 
     /**
      * 省份列表
      */
-    private List<TKProvince> TKProvinceList;
+    private List<TKProvince> provinceList;
 
     /**
      * 实名认证标志
@@ -109,9 +109,9 @@ public class InitProposalResult extends UnknownFieldEntity {
 
     @Override
     protected void addChildUnknownFields() {
-        addChildUnknownField("cityList", TKCityList);
-        addChildUnknownField("carOwnerVo", TKCarOwnerVo);
-        addChildUnknownField("identifyTypeMap", TKIdentifyTypeMap);
-        addChildUnknownField("provinceList", TKProvinceList);
+        addChildUnknownField("cityList", cityList);
+        addChildUnknownField("carOwnerVo", carOwnerVo);
+        addChildUnknownField("identifyTypeMap", identifyTypeMap);
+        addChildUnknownField("provinceList", provinceList);
     }
 }

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

@@ -0,0 +1,44 @@
+package com.jzg.quotation.taikang.model.api;
+
+import com.jzg.quotation.taikang.client.UnknownFieldEntity;
+import com.jzg.quotation.taikang.model.entity.TKInsureInfo;
+import lombok.Getter;
+import lombok.Setter;
+
+@Setter
+@Getter
+public class TKEntranceFor000012Param extends UnknownFieldEntity {
+
+    private String tplatformId;
+
+    /**
+     * 渠道代码
+     */
+    private String channelCode;
+
+    /**
+     * 订单ID
+     */
+    private String orderID;
+
+    /**
+     * 来源ID
+     */
+    private String fromID;
+
+    /**
+     * 渠道特约列表(此处为空)
+     */
+    //private List<Object> channelEngages;
+
+    /**
+     * 潜在客户ID(此处为空)
+     */
+    private String leadsid;
+
+    private String authFailContinueFlag;
+
+    private TKInsureInfo insureInfo;
+
+
+}

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

@@ -52,7 +52,7 @@ public class TKAppliInfo extends UnknownFieldEntity {
     /**
      * 性别
      */
-    private Integer sex;
+    private String sex;
 
     /**
      * 邮箱

+ 13 - 2
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/model/entity/TKInsureInfo.java

@@ -11,21 +11,29 @@ public class TKInsureInfo extends UnknownFieldEntity {
 
     /**
      * 保单类型
+     *
+     * 1:电子保单
+     * 2:纸质保单+电子保单
      */
     private String policyType;
 
     /**
      * 投保人信息
+     *
      */
     private TKAppliInfo appliInfo;
 
     /**
-     * 被保人信息
+     * 被保险人信息
      */
     private TKInsuredInfo insuredInfo;
 
     /**
      * 联系人信息
+     *
+     * 上海地区传业务经办人
+     *
+     * 好像空的也没问题
      */
     private TKContacts contacts;
 
@@ -35,7 +43,10 @@ public class TKInsureInfo extends UnknownFieldEntity {
     private TKCarOwnerVo carOwnerVo;
 
     /**
-     * 消息发送标志
+     * 是否发送短信通知(支付链接)
+     *
+     * 0:不发送
+     * 1:发送
      */
     private String messageSendFlag;
 

+ 3 - 3
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/model/entity/TKInsuredInfo.java

@@ -47,7 +47,7 @@ public class TKInsuredInfo extends UnknownFieldEntity {
     /**
      * 性别
      */
-    private Integer sex;
+    private String sex;
 
     /**
      * 邮箱
@@ -55,12 +55,12 @@ public class TKInsuredInfo extends UnknownFieldEntity {
     private String email;
 
     /**
-     * 是否与车主一致
+     * 是否同车主(carOwnerVo)的信息一致
      */
     private Integer withOwner;
 
     /**
-     * 是否与投保人一致
+     * 是否与同投保人(appliInfo)的信息一致
      */
     private Integer withApplyer;
 

+ 54 - 3
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/service/TKQuotationBaseServiceImpl.java

@@ -165,11 +165,62 @@ public class TKQuotationBaseServiceImpl implements QuotationBaseService {
         // 保存报价,保存后不能再修改报价。
         tkSimpleService.orderQuoteSave(loginInfo, preciseInitResult.getMainOrderId());
 
-        TKChgOwnerInfo tkChgOwnerInfo = new TKChgOwnerInfo();
-        // todo
+        InitProposalResult initProposalResult = tkSimpleService.queryCarOwner(loginInfo, preciseInitResult.getMainOrderId());
+
+        // 车主信息
+        TKCarOwnerVo carOwnerVo = new TKCarOwnerVo();
+        carOwnerVo.setInsuredAddress(initProposalResult.getCarOwnerVo().getInsuredAddress());
+        carOwnerVo.setPhoneNo("手机号");
+        carOwnerVo.setInsuredCityCode(initProposalResult.getCityCode());
+        carOwnerVo.setInsuredCityCname(initProposalResult.getCityName());
+        carOwnerVo.setInsuredProvinceCode(initProposalResult.getProvinceCode());
+        carOwnerVo.setInsuredProvinceCname(initProposalResult.getProvinceName());
+
+
+        // 投保人信息
+        TKAppliInfo appliInfo = new TKAppliInfo();
+        appliInfo.setAppliName(carOwnerVo.getName());
+        appliInfo.setBirthday(carOwnerVo.getBirthDate());
+        appliInfo.setIdentifyNumber(carOwnerVo.getId());
+        appliInfo.setIdentifyType(carOwnerVo.getCertificateType());
+        appliInfo.setInsuredAddress("地址");
+        appliInfo.setInsuredNature("1"); // todo
+        appliInfo.setInvoiceFlag("1"); // todo
+        appliInfo.setInvoiceType("002"); // todo
+        appliInfo.setIsSelf("1");
+        appliInfo.setPhoneNumber(carOwnerVo.getPhoneNo());
+        appliInfo.setSerialno(2);
+        appliInfo.setSex(carOwnerVo.getSex());
+        appliInfo.setTaxNumber(carOwnerVo.getId());
+        appliInfo.setTaxPayer(carOwnerVo.getName());
+        appliInfo.setTaxpayerType("0");
+        appliInfo.setWithOwner(1);
+
+        // 被保险人信息
+        TKInsuredInfo insuredInfo = new TKInsuredInfo();
+        insuredInfo.setBirthday(carOwnerVo.getBirthDate());
+        insuredInfo.setIdentifyNumber(carOwnerVo.getId());
+        insuredInfo.setIdentifyType(carOwnerVo.getCertificateType());
+        insuredInfo.setInsuredNature("1");
+        insuredInfo.setInsuredAddress("地址");
+        insuredInfo.setInsuredName(carOwnerVo.getName());
+        insuredInfo.setIsSelf("1");
+        insuredInfo.setPhoneNumber(carOwnerVo.getPhoneNo());
+        insuredInfo.setSerialno(1);
+        insuredInfo.setSex(carOwnerVo.getSex());
+        insuredInfo.setWithOwner(1);
+        insuredInfo.setWithApplyer(1);
+
+        TKInsureInfo insureInfo = new TKInsureInfo();
+        insureInfo.setPolicyType("1"); // 电子保单
+        insureInfo.setMessageSendFlag("0"); // 不发送短信
+        insureInfo.setContacts(new TKContacts());
+        insureInfo.setCarOwnerVo(carOwnerVo);
+        insureInfo.setAppliInfo(appliInfo);
+        insureInfo.setInsuredInfo(insuredInfo);
 
         // # 车险投保单报价
-        preciseInitResult = tkSimpleService.orderSubmit(loginInfo, preciseInitResult.getMainOrderId(), tkChgOwnerInfo);
+        preciseInitResult = tkSimpleService.orderSubmit(loginInfo, preciseInitResult.getMainOrderId(), insureInfo);
 
     }
 

+ 13 - 3
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/service/TKSimpleService.java

@@ -802,16 +802,18 @@ public class TKSimpleService {
      *
      * @param loginInfo
      * @param mainOrderId
-     * @param tkChgOwnerInfo
+     * @param insureInfo
      * @return
      */
-    public PreciseInitResult orderSubmit(LoginResult loginInfo, String mainOrderId, TKChgOwnerInfo tkChgOwnerInfo) {
+    public PreciseInitResult orderSubmit(LoginResult loginInfo, String mainOrderId, TKInsureInfo insureInfo) {
         // 全局固定参数
         String tplatformId = loginInfo.getTplatformId();
         String tplatLoginKey = loginInfo.getTplatLoginKey();
         String fromId = loginInfo.getWebsysUserVo().getFromid();
 
-        PreciseInitResult preciseQuoteResult = httpService.preciseInitToVipQuote(tplatformId, tplatLoginKey, mainOrderId, tkChgOwnerInfo);
+        httpService.entranceFor000012(tplatformId, fromId, mainOrderId, insureInfo);
+
+        PreciseInitResult preciseQuoteResult = httpService.preciseInitToVipQuote(tplatformId, tplatLoginKey, mainOrderId, insureInfo);
 
         if (preciseQuoteResult == null) {
             throw new RuntimeException("HttpService#preciseInitToQuote (报价)失败!");
@@ -819,4 +821,12 @@ public class TKSimpleService {
 
         return preciseQuoteResult;
     }
+
+    public InitProposalResult queryCarOwner(LoginResult loginInfo, String mainOrderId) {
+        // 全局固定参数
+        String tplatformId = loginInfo.getTplatformId();
+        String tplatLoginKey = loginInfo.getTplatLoginKey();
+        InitProposalResult initProposalResult = httpService.initProposal(tplatformId, tplatLoginKey, mainOrderId);
+        return initProposalResult;
+    }
 }

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
tenant/insurance/quotation-taikang/src/test/java/com/jzg/quotation/taikang/AESDecryptorTest.java


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

@@ -1159,7 +1159,7 @@ public class HttpServiceTest1 {
 
         EngageEngageQueryParam.Privy privy = new EngageEngageQueryParam.Privy();
 
-        EntranceResult result = httpService.entranceForJson(tplatformId, fromid, "WBPC202503071419220680000");
+        EntranceResult result = httpService.entranceForJson(tplatformId, fromid, "WBPC202503071419220680000", null);
 
         assertNotNull(result);
 

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác