Просмотр исходного кода

update
诚泰财险
1.报价相关

wks 11 месяцев назад
Родитель
Сommit
c8c390c558
100 измененных файлов с 2489 добавлено и 5389 удалено
  1. 7 0
      commons/src/main/java/com/jzg/commons/entity/quote/vo/CustomerInfoVo.java
  2. 13 8
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/client/ChengTaiAPI.java
  3. 0 52
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/client/EncryptRSA.java
  4. 151 21
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/component/ChengTaiRequestCrawlerComponent.java
  5. 1 1
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/ChengTaiCrawlerConfigureParameters.java
  6. 1 2
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/request/ChengTaiCheckCaptchaRequest.java
  7. 146 0
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/request/ChengTaiClientIdentifyRequest.java
  8. 69 0
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/request/ChengTaiFindCarModelRequest.java
  9. 37 0
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/request/ChengTaiFindCoreConferInfoByHandleCodeRequest.java
  10. 35 0
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/request/ChengTaiFindSaleManVoByDeptCodeRequest.java
  11. 1 1
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/request/ChengTaiGetCaptchaRequest.java
  12. 1 3
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/request/ChengTaiLoginRequest.java
  13. 975 0
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/request/ChengTaiPremiumcaRequest.java
  14. 26 0
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/response/ChengTaiBaseResponse.java
  15. 54 0
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/response/ChengTaiCheckCaptchaResponse.java
  16. 85 0
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/response/ChengTaiClientIdentifyResponse.java
  17. 24 0
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/response/ChengTaiFindAttributionOrgByUserResponse.java
  18. 154 0
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/response/ChengTaiFindCarModelResponse.java
  19. 55 0
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/response/ChengTaiFindCoreConferInfoByHandleCodeResponse.java
  20. 62 0
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/response/ChengTaiFindSaleManVoByDeptCodeResponse.java
  21. 31 0
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/response/ChengTaiGetCIModelCodeResponse.java
  22. 1 15
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/response/ChengTaiGetCaptchaResponse.java
  23. 1 1
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/response/ChengTaiLoginResponse.java
  24. 537 0
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/response/ChengTaiPremiumcaResponse.java
  25. 0 70
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiAcciSaleInfo.java
  26. 0 146
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiAccidentInsurance.java
  27. 0 47
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiAdjust.java
  28. 0 175
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiApplicant.java
  29. 0 52
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiAuthority.java
  30. 0 69
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiBiContract.java
  31. 0 168
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiBusinessMain.java
  32. 0 186
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiCarFullData.java
  33. 0 44
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiCarKind.java
  34. 0 186
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiCarModel.java
  35. 0 24
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiCarPlatformBean.java
  36. 0 123
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiCiContract.java
  37. 0 12
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiCombo.java
  38. 0 171
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiContractMain.java
  39. 0 129
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiCoverage.java
  40. 0 104
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiCustomer.java
  41. 0 74
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiDictionary.java
  42. 0 229
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiDiscountInfo.java
  43. 0 43
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiEffectInfoDTO.java
  44. 0 38
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiEngage.java
  45. 0 18
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiFlag.java
  46. 0 29
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiIlogRuleResult.java
  47. 0 106
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiInsuranceItem.java
  48. 0 37
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiInsured.java
  49. 0 34
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiInsuredObject.java
  50. 0 51
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiJqxclassidDic.java
  51. 0 18
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiJqxclassidDicExtData.java
  52. 0 48
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiOwner.java
  53. 0 112
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiPlatFormMessage.java
  54. 0 6
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiPlatformCarBean.java
  55. 0 424
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiPolicyCar.java
  56. 0 22
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiReInsureItem.java
  57. 0 38
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiRule.java
  58. 0 85
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiSaleInfo.java
  59. 0 41
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiSaleMan.java
  60. 0 60
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiSalesRisk.java
  61. 0 15
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiSession.java
  62. 0 68
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiSubAgreement.java
  63. 0 26
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiSubmitReqBody.java
  64. 0 107
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiTax.java
  65. 0 40
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiUseNature.java
  66. 0 39
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiVehicleType.java
  67. 0 29
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/param/ChengTaiDownloadAddressParam.java
  68. 0 15
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/param/ChengTaiFindSaleManVoByDeptCodeParam.java
  69. 0 34
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/param/ChengTaiHygeiaGetParam.java
  70. 0 31
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/param/ChengTaiImageUploadParam.java
  71. 0 13
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/param/ChengTaiLoginParam.java
  72. 0 100
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/param/ChengTaiPremiumcalParam.java
  73. 0 38
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/param/ChengTaiVehicleCoreSaveParam.java
  74. 0 68
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/response/ChengTaiCheckCaptchaResponse.java
  75. 0 16
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiClientIdentifyResult.java
  76. 0 61
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiDownloadAddressResult.java
  77. 0 14
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiFindAreaConfigResult.java
  78. 0 19
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiFindAttributionOrgByUserResult.java
  79. 0 29
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiFindCarModelResult.java
  80. 0 81
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiFindCoreConferInfoByHandleCodeResult.java
  81. 0 17
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiFindDictionaryResult.java
  82. 0 46
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiFindSaleManVoByDeptCodeResult.java
  83. 0 11
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiGetPolicyModelResult.java
  84. 0 16
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiHygeiaGetResult.java
  85. 0 18
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiImageUploadResult.java
  86. 0 201
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiInsureResult.java
  87. 0 11
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiLoginResult.java
  88. 0 91
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiPremiumcalResult.java
  89. 0 39
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiQueryCarInfoResult.java
  90. 0 44
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiQueryLoginUserInfoResult.java
  91. 0 34
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiQueryRiskAuthorityResult.java
  92. 0 40
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiQueryVehicleListResult.java
  93. 0 66
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiSaveResult.java
  94. 0 143
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiSubmitResult.java
  95. 0 51
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiSystemResult.java
  96. 0 11
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/repository/ChengTaiLoginSessionRepository.java
  97. 0 11
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/repository/ChengTaiPremiumcalRepository.java
  98. 0 373
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/service/ChengTaiAPIService.java
  99. 14 0
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/service/ChengTaiCrawlerQuoteProcessService.java
  100. 8 0
      tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/service/ChengTaiCrawlerRequest.java

+ 7 - 0
commons/src/main/java/com/jzg/commons/entity/quote/vo/CustomerInfoVo.java

@@ -70,6 +70,13 @@ public class CustomerInfoVo implements Serializable {
      */
     @Schema(description = "证件类型代码")
     private String identifyType;
+
+    /**
+     * 证件类型代码名称
+     */
+    @Schema(description = "证件类型代码名称")
+    private String identifyTypeName;
+
     /**
      * 组织机构代码
      */

+ 13 - 8
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/client/ChengTaiAPI.java

@@ -3,25 +3,30 @@ package com.jzg.quotation.chengtai.crawler.client;
 import com.jzg.quotation.commons.standard.CrawlerRequestUrlStandard;
 
 public enum ChengTaiAPI implements CrawlerRequestUrlStandard {
-
+    // 登录相关
     GET_CAPTCHA("/api/upms/captcha/get", "获取验证码"),
     CHECK_CAPTCHA("/api/upms/captcha/check", "验证验证码"),
-
     LOGIN("/api/upms/login", "登录"),
+    // 归属信息
+    FIND_ATTRIBUTION_ORG_BY_USER("api/vehicle/insure/channel/findAttributionOrgByUser", "查询登录用户可用的业务归属机构"),
+    FIND_SALE_MAN_VO_BY_DEPT_CODE("/api/vehicle/insure/channel/findSaleManVoByDeptCode", "查询业务人员"),
+    FIND_CORE_CONFER_INFO_BY_HANDLE_CODE("/api/vehicle/insure/channel/findCoreConferInfoByHandleCode", "查询务人员可用的中介协议和代理机构"),
+
+    FIND_CAR_MODEL("/api/vehicle/insure/findCarModel", "查询车型"),
+    GET_CI_MODEL_CODE("api/vehicle/core/getCIModelCode/", "查询车系"),
+    CLIENT_IDENTIFY("/api/vehicle/core/clientIdentify", "身份识别"),
+    PREMIUMCAL("/api/vehicle/core/premiumcal", "保费计算"),
+
+
     System("/api/upms/system", "系统信息"),
     FindAreaConfig("/api/vehicle/base/findAreaConfig", ""),
     FindDictionaryOfRisk("/api/vehicle/base/findDictionary?type=RISK_TYPE", "查询险种"),
     QueryLoginUserInfo("/api/vehicle/base/queryLoginUserInfo", "查询登录用户信息"),
     QueryRiskAuthority("/api/vehicle/insure/channel/queryRiskAuthority", "查询业务人员可用的信息"),
-    FindAttributionOrgByUser("api/vehicle/insure/channel/findAttributionOrgByUser", "查询登录用户可用的业务归属机构"),
-    FindCoreConferInfoByHandleCode("/api/vehicle/insure/channel/findCoreConferInfoByHandleCode", "查询务人员可用的中介协议和代理机构"),
-    FindSaleManVoByDeptCode("/api/vehicle/insure/channel/findSaleManVoByDeptCode", "查询业务人员"),
     QueryVehicleList("/api/vehicle/insure/carInfo/queryVehicleList", "查询车辆种类"),
     QueryCarInfo("/api/vehicle/core/queryCarInfo", "查询车型"),
-    FindCarModel("/api/vehicle/insure/findCarModel", "查询车型"),
-    ClientIdentify("/api/vehicle/core/clientIdentify", "身份识别"),
     Save("/api/vehicle/core/save", "保存"),
-    Premiumcal("/api/vehicle/core/premiumcal", "保费计算"),
+
     Submit("/api/vehicle/core/submit", "核保"),
     ImageUpload("/api/vehicle/imageUpload", "上传影像"),
     GetPolicyModel("/api/vehicle/query/getPolicyModel", "获取详情"),

+ 0 - 52
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/client/EncryptRSA.java

@@ -1,52 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.client;
-
-import javax.crypto.Cipher;
-import java.security.KeyFactory;
-import java.security.PublicKey;
-import java.security.spec.X509EncodedKeySpec;
-import java.util.Base64;
-
-public class EncryptRSA {
-    private static final String defaultPublicKey = "-----BEGIN PUBLIC KEY-----\n" +
-            "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCi72JvLMxR9U6smKlV6au0HM2k\n" +
-            "QRSlSkUpWs40MUSF2IRmelEqJAf+kY6tNAw8+Lo1r+qsf9ewnDSbvL06VO3EtWCv\n" +
-            "ka64fxG+ZzjF2ClamVcP0q6fyVC4m+eygToXlW2EhfDX7t5dU9ZkFB2zC7AHgY5A\n" +
-            "dMzUUVair92xYeZ+RwIDAQAB\n" +
-            "-----END PUBLIC KEY-----";
-
-    public static String encrypt(String publicKeyStr, String password) throws Exception {
-        // 1. 处理PEM格式的公钥(移除头尾和换行符)
-        publicKeyStr = publicKeyStr
-                .replace("-----BEGIN PUBLIC KEY-----", "")
-                .replace("-----END PUBLIC KEY-----", "")
-                .replaceAll("\\s+", "");
-
-        // 2. Base64解码公钥
-        byte[] publicKeyBytes = Base64.getDecoder().decode(publicKeyStr);
-
-        // 3. 生成PublicKey对象
-        X509EncodedKeySpec keySpec = new X509EncodedKeySpec(publicKeyBytes);
-        KeyFactory keyFactory = KeyFactory.getInstance("RSA");
-        PublicKey publicKey = keyFactory.generatePublic(keySpec);
-
-        // 4. 加密(使用PKCS#1 v1.5填充)
-        Cipher cipher = Cipher.getInstance("RSA/ECB/PKCS1Padding");
-        cipher.init(Cipher.ENCRYPT_MODE, publicKey);
-        byte[] encryptedBytes = cipher.doFinal(password.getBytes());
-
-        // 5. 返回Base64编码结果
-        return Base64.getEncoder().encodeToString(encryptedBytes);
-    }
-
-
-    public static String encrypt(String publicKeyStr) throws Exception {
-        return encrypt(defaultPublicKey, publicKeyStr);
-    }
-
-    public static void main(String[] args) throws Exception {
-        // 示例公钥(替换为实际公钥)
-        String password = "your_password_123";
-        String encrypted = encrypt(password);
-        System.out.println("Encrypted: " + encrypted);
-    }
-}

+ 151 - 21
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/component/ChengTaiRequestCrawlerComponent.java

@@ -1,20 +1,23 @@
 package com.jzg.quotation.chengtai.crawler.component;
 
+import com.jzg.commons.entity.quote.vo.CarInfoVo;
+import com.jzg.commons.entity.quote.vo.CustomerInfoVo;
+import com.jzg.commons.entity.quote.vo.QuoteVo;
 import com.jzg.commons.exception.SystemException;
 import com.jzg.quotation.chengtai.crawler.client.ChengTaiAPI;
-import com.jzg.quotation.chengtai.crawler.model.request.ChengTaiCheckCaptchaRequest;
-import com.jzg.quotation.chengtai.crawler.model.request.ChengTaiGetCaptchaRequest;
-import com.jzg.quotation.chengtai.crawler.model.request.ChengTaiLoginRequest;
-import com.jzg.quotation.chengtai.crawler.model.response.ChengTaiCheckCaptchaResponse;
-import com.jzg.quotation.chengtai.crawler.model.response.ChengTaiGetCaptchaResponse;
-import com.jzg.quotation.chengtai.crawler.model.response.ChengTaiLoginResponse;
+import com.jzg.quotation.chengtai.crawler.entity.request.*;
+import com.jzg.quotation.chengtai.crawler.entity.response.*;
 import com.jzg.quotation.chengtai.crawler.properties.ChengTaiCrawlerProperties;
 import com.jzg.quotation.commons.component.RequestComponent;
+import com.jzg.quotation.commons.filter.CarModelsFilterUtils;
 import lombok.RequiredArgsConstructor;
+import org.springframework.core.ParameterizedTypeReference;
 import org.springframework.http.HttpHeaders;
 import org.springframework.http.ResponseEntity;
 import org.springframework.stereotype.Component;
 
+import java.util.List;
+import java.util.Map;
 import java.util.Optional;
 
 @Component
@@ -25,13 +28,33 @@ public class ChengTaiRequestCrawlerComponent {
 
     private final ChengTaiCrawlerProperties chengTaiCrawlerProperties;
 
-    public <Response> ResponseEntity<Response> requestBasePost(ChengTaiAPI requestUrl, Object body, Class<Response> responseClass, HttpHeaders headers) {
+
+    /**
+     * 获取响应内容
+     *
+     * @param requestUrl    请求地址
+     * @param body          请求内容
+     * @param responseClass 响应内容
+     * @param headers       请求头
+     * @return 响应内容
+     */
+    public <Response> ResponseEntity<ChengTaiBaseResponse<Response>> requestBasePost(ChengTaiAPI requestUrl, Object body, ParameterizedTypeReference<ChengTaiBaseResponse<Response>> responseClass, HttpHeaders headers) {
         String url = chengTaiCrawlerProperties.getBaseUrl() + requestUrl.uri();
-        return requestComponent.objectPost(url, body, responseClass, headers);
+        return requestComponent.basePost(url, body, responseClass, headers);
     }
 
-    public <Response> Response requestPost(ChengTaiAPI requestUrl, Object body, Class<Response> responseClass, HttpHeaders headers) {
-        return requestBasePost(requestUrl, body, responseClass, headers).getBody();
+    /**
+     * 获取响应内容
+     *
+     * @param requestUrl    请求地址
+     * @param body          请求内容
+     * @param responseClass 响应内容
+     * @param headers       请求头
+     * @return 响应内容
+     */
+    public <Response> Response requestPost(ChengTaiAPI requestUrl, Object body, ParameterizedTypeReference<ChengTaiBaseResponse<Response>> responseClass, HttpHeaders headers) {
+        ChengTaiBaseResponse<Response> response = requestBasePost(requestUrl, body, responseClass, headers).getBody();
+        return response.getBody();
     }
 
     /**
@@ -41,22 +64,19 @@ public class ChengTaiRequestCrawlerComponent {
      * @return 公钥
      */
     public static <T> String getPublicKey(ResponseEntity<T> responseEntity) {
-        return Optional.ofNullable(responseEntity)
-                .map(ResponseEntity::getHeaders)
-                .map(x -> x.get("Publickey"))
-                .map(x -> x.get(0))
-                .orElseThrow(() -> new SystemException("获取公钥失败"));
+        return Optional.ofNullable(responseEntity).map(ResponseEntity::getHeaders).map(x -> x.get("Publickey")).map(x -> x.get(0)).orElseThrow(() -> new SystemException("获取公钥失败"));
     }
 
-
     /**
      * 获取验证码
      *
      * @param request 请求内容
      * @return 验证码
      */
-    public ResponseEntity<ChengTaiGetCaptchaResponse> getCaptcha(ChengTaiGetCaptchaRequest request) {
-        return requestBasePost(ChengTaiAPI.GET_CAPTCHA, request, ChengTaiGetCaptchaResponse.class, new HttpHeaders());
+    public ChengTaiGetCaptchaResponse getCaptcha(ChengTaiGetCaptchaRequest request) {
+        return requestPost(ChengTaiAPI.GET_CAPTCHA, request, new ParameterizedTypeReference<>() {
+        }, new HttpHeaders());
+
     }
 
     /**
@@ -65,8 +85,9 @@ public class ChengTaiRequestCrawlerComponent {
      * @param request 验证码
      * @return 验证结果
      */
-    public ResponseEntity<ChengTaiCheckCaptchaResponse> checkCaptcha(ChengTaiCheckCaptchaRequest request) {
-        return requestBasePost(ChengTaiAPI.CHECK_CAPTCHA, request, ChengTaiCheckCaptchaResponse.class, new HttpHeaders());
+    public ResponseEntity<ChengTaiBaseResponse<ChengTaiCheckCaptchaResponse>> checkCaptcha(ChengTaiCheckCaptchaRequest request) {
+        return requestBasePost(ChengTaiAPI.CHECK_CAPTCHA, request, new ParameterizedTypeReference<>() {
+        }, new HttpHeaders());
     }
 
     /**
@@ -75,10 +96,119 @@ public class ChengTaiRequestCrawlerComponent {
      * @param request 登录信息
      * @return 登录结果
      */
-    public ChengTaiLoginResponse login(ChengTaiLoginRequest request){
+    public ChengTaiLoginResponse login(ChengTaiLoginRequest request) {
         ResponseEntity<ChengTaiLoginResponse> response = requestComponent.formData(ChengTaiAPI.LOGIN.getRequestUrl(chengTaiCrawlerProperties.getBaseUrl()), request, ChengTaiLoginResponse.class, new HttpHeaders());
         return response.getBody();
     }
 
+    /**
+     * 查询归属机构
+     *
+     * @param deptCode    归属机构
+     * @param httpHeaders 请求头
+     * @return 归属机构
+     */
+    public ChengTaiFindAttributionOrgByUserResponse findAttributionOrgByUser(String deptCode, HttpHeaders httpHeaders) {
+        List<ChengTaiFindAttributionOrgByUserResponse> response = requestPost(ChengTaiAPI.FIND_ATTRIBUTION_ORG_BY_USER, null, new ParameterizedTypeReference<>() {
+        }, httpHeaders);
+        return response.stream().filter(x -> deptCode.equals(x.getDeptCode())).findFirst().orElseThrow(() -> new SystemException("获取归属机构失败"));
+    }
+
+    /**
+     * 查询归属机构下的业务员
+     *
+     * @param deptCode    业务归属机构
+     * @param userCode    业务员
+     * @param httpHeaders 请求头
+     * @return 业务员
+     */
+    public ChengTaiFindSaleManVoByDeptCodeResponse findSaleManVoByDeptCode(String deptCode, String userCode, HttpHeaders httpHeaders) {
+        ChengTaiFindSaleManVoByDeptCodeRequest request = new ChengTaiFindSaleManVoByDeptCodeRequest(deptCode);
+        List<ChengTaiFindSaleManVoByDeptCodeResponse> response = requestPost(ChengTaiAPI.FIND_SALE_MAN_VO_BY_DEPT_CODE, request, new ParameterizedTypeReference<>() {
+        }, httpHeaders);
+        return response.stream()
+                .filter(x -> userCode.equals(x.getUserCode()))
+                .findFirst()
+                .orElseThrow(() -> new SystemException("获取归属机构下的业务员失败"));
+    }
 
+    /**
+     * 查询业务员下的中介协议
+     *
+     * @param saleCode      业务员
+     * @param agreementCode 中介协议
+     * @param httpHeaders   请求头
+     * @return 中介协议
+     */
+    public ChengTaiFindCoreConferInfoByHandleCodeResponse findCoreConferInfoByHandleCode(String saleCode, String agreementCode, HttpHeaders httpHeaders) {
+        ChengTaiFindCoreConferInfoByHandleCodeRequest request = new ChengTaiFindCoreConferInfoByHandleCodeRequest(saleCode);
+        List<ChengTaiFindCoreConferInfoByHandleCodeResponse> responses = requestPost(ChengTaiAPI.FIND_CORE_CONFER_INFO_BY_HANDLE_CODE, request, new ParameterizedTypeReference<>() {
+        }, httpHeaders);
+        return responses.stream()
+                .filter(x -> agreementCode.equals(x.getAgreementCode()))
+                .findFirst()
+                .orElseThrow(() -> new SystemException("获取归属机构下的业务员失败"));
+    }
+
+    /**
+     * 客户身份信息确认
+     *
+     * @param customerInfoVo 人员信息
+     * @param role:          角色
+     * @return 查询结果
+     */
+    public ChengTaiClientIdentifyResponse clientIdentify(CustomerInfoVo customerInfoVo, String role, String comCode, HttpHeaders httpHeaders) {
+        ChengTaiClientIdentifyRequest request = new ChengTaiClientIdentifyRequest(customerInfoVo, role, comCode);
+        return requestPost(ChengTaiAPI.CLIENT_IDENTIFY, request, new ParameterizedTypeReference<>() {
+        }, httpHeaders);
+    }
+
+    /**
+     * 获取车辆信息
+     *
+     * @param carInfoVo   车辆信息
+     * @param httpHeaders 请求头
+     * @return 车辆信息
+     */
+    public ChengTaiFindCarModelResponse.DataDTO findCarModel(CarInfoVo carInfoVo, HttpHeaders httpHeaders) {
+        ChengTaiFindCarModelRequest chengTaiFindCarModelRequest = new ChengTaiFindCarModelRequest(carInfoVo.getBrandName());
+        ChengTaiFindCarModelResponse chengTaiFindCarModelResponse = requestPost(ChengTaiAPI.FIND_CAR_MODEL, chengTaiFindCarModelRequest, new ParameterizedTypeReference<>() {
+        }, httpHeaders);
+        List<ChengTaiFindCarModelResponse.DataDTO> carModel = Optional.ofNullable(chengTaiFindCarModelResponse)
+                .map(ChengTaiFindCarModelResponse::getData)
+                .orElseThrow(() -> new SystemException("获取车辆信息失败"));
+        return CarModelsFilterUtils.to(carModel, carInfoVo);
+    }
+
+    /**
+     * 获取车辆信息
+     *
+     * @param carName     车辆名称
+     * @param httpHeaders 请求头
+     * @return 车辆信息
+     */
+    public ChengTaiGetCIModelCodeResponse getCIModelCode(String carName, HttpHeaders httpHeaders) {
+        return requestComponent.get(ChengTaiAPI.CLIENT_IDENTIFY.getRequestUrl(chengTaiCrawlerProperties.getBaseUrl()) + carName, Map.of(), null, new ParameterizedTypeReference<>() {
+        }, httpHeaders);
+    }
+
+    /**
+     * 获取保费
+     *
+     * @param quoteVo       报价信息
+     * @param carModel      车辆信息
+     * @param policyHolder  投保人
+     * @param insuredPerson 被保人
+     * @param httpHeaders   请求头
+     * @return 保费
+     */
+    public ChengTaiPremiumcaResponse premiumca(QuoteVo quoteVo,
+                                               ChengTaiFindCarModelResponse.DataDTO carModel,
+                                               ChengTaiClientIdentifyResponse policyHolder,
+                                               ChengTaiClientIdentifyResponse insuredPerson,
+                                               String actualValue, HttpHeaders httpHeaders) {
+        ChengTaiPremiumcaRequest request = new ChengTaiPremiumcaRequest(quoteVo, carModel, policyHolder, insuredPerson, actualValue);
+        return requestPost(ChengTaiAPI.PREMIUMCAL, request, new ParameterizedTypeReference<>() {
+        }, httpHeaders);
+    }
 }

+ 1 - 1
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/ChengTaiCrawlerConfigureParameters.java → tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/ChengTaiCrawlerConfigureParameters.java

@@ -1,4 +1,4 @@
-package com.jzg.quotation.chengtai.crawler.model;
+package com.jzg.quotation.chengtai.crawler.entity;
 
 import com.jzg.quotation.commons.standard.ConfigureParameters;
 import lombok.AllArgsConstructor;

+ 1 - 2
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/request/ChengTaiCheckCaptchaRequest.java → tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/request/ChengTaiCheckCaptchaRequest.java

@@ -1,6 +1,5 @@
-package com.jzg.quotation.chengtai.crawler.model.request;
+package com.jzg.quotation.chengtai.crawler.entity.request;
 
-import com.alibaba.fastjson.JSON;
 import com.fasterxml.jackson.annotation.JsonProperty;
 import lombok.AllArgsConstructor;
 import lombok.Data;

+ 146 - 0
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/request/ChengTaiClientIdentifyRequest.java

@@ -0,0 +1,146 @@
+package com.jzg.quotation.chengtai.crawler.entity.request;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.jzg.commons.entity.quote.vo.CustomerInfoVo;
+import lombok.Data;
+
+import java.io.Serial;
+import java.io.Serializable;
+
+/**
+ * @ClassName ChengTaiClientIdentifyRequest
+ * @Description 诚泰财险【爬虫】 客户识别请求参数
+ * @Author wenks
+ * @Date 2025/9/11 17:21
+ * @Version 1.0
+ */
+@Data
+public class ChengTaiClientIdentifyRequest implements Serializable {
+
+    @Serial
+    private static final long serialVersionUID = -7741886786790391773L;
+
+    @JsonProperty("type")
+    private String type;
+
+    @JsonProperty("role")
+    private String role;
+
+    @JsonProperty("isTerror")
+    private String isTerror;
+
+    @JsonProperty("name")
+    private String name;
+
+    @JsonProperty("identifyTypeCode")
+    private String identifyTypeCode;
+
+    @JsonProperty("identifyTypeName")
+    private String identifyTypeName;
+
+    @JsonProperty("identifyNumber")
+    private String identifyNumber;
+
+    @JsonProperty("province")
+    private String province;
+
+    @JsonProperty("city")
+    private String city;
+
+    @JsonProperty("district")
+    private String district;
+
+    @JsonProperty("provinceName")
+    private String provinceName;
+
+    @JsonProperty("cityName")
+    private String cityName;
+
+    @JsonProperty("districtName")
+    private String districtName;
+
+    @JsonProperty("addr")
+    private String addr;
+
+    @JsonProperty("completeAddress")
+    private String completeAddress;
+
+    @JsonProperty("mobile")
+    private String mobile;
+
+    @JsonProperty("specialClient")
+    private String specialClient;
+
+    @JsonProperty("identifyValidDate")
+    private String identifyValidDate;
+
+    @JsonProperty("identifyValidEndDate")
+    private String identifyValidEndDate;
+
+    @JsonProperty("sex")
+    private String sex;
+
+    @JsonProperty("birthday")
+    private String birthday;
+
+    @JsonProperty("email")
+    private String email;
+
+    @JsonProperty("operateFlag")
+    private String operateFlag;
+
+    @JsonProperty("longTerm")
+    private String longTerm;
+
+    @JsonProperty("terrorNationality")
+    private String terrorNationality;
+
+    @JsonProperty("terrorNationalityName")
+    private String terrorNationalityName;
+
+    @JsonProperty("individualBusinessInd")
+    private String individualBusinessInd;
+
+    @JsonProperty("microBusinessesInd")
+    private String microBusinessesInd;
+
+    @JsonProperty("signedbyOrig")
+    private String signedbyOrig;
+
+    @JsonProperty("comCode")
+    private String comCode;
+
+    public ChengTaiClientIdentifyRequest(CustomerInfoVo customerInfoVo, String role, String comCode) {
+//        this.type = type;
+        this.role = role;
+        this.isTerror = "0";
+        this.name = customerInfoVo.getName();
+        this.identifyTypeCode = customerInfoVo.getIdentifyType();
+        this.identifyTypeName = customerInfoVo.getIdentifyTypeName();
+        this.identifyNumber = customerInfoVo.getIdentifyNumber();
+        this.province = customerInfoVo.getProvinceCode();
+        this.city = customerInfoVo.getCityCode();
+        this.district = customerInfoVo.getCountyCode();
+        this.provinceName = customerInfoVo.getProvince();
+        this.cityName = customerInfoVo.getCity();
+        this.districtName = customerInfoVo.getCounty();
+        this.addr = customerInfoVo.getAddr();
+        this.completeAddress = customerInfoVo.getAddr();
+        this.mobile = customerInfoVo.getMobile();
+        this.specialClient = "00";
+        this.identifyValidDate = customerInfoVo.getIdentifyValidDate();
+        this.identifyValidEndDate = customerInfoVo.getIdentifyValidEndDate();
+        this.sex = customerInfoVo.getGender();
+        this.birthday = customerInfoVo.getBirthday();
+        this.email = customerInfoVo.getEmail();
+        this.operateFlag = "Q";
+        this.longTerm = "0";
+        this.terrorNationality = "CN";
+        this.terrorNationalityName = "中华人民共和国";
+        this.individualBusinessInd = "0";
+        this.microBusinessesInd = "0";
+        this.signedbyOrig = "0";
+        this.comCode = comCode;
+    }
+
+}

+ 69 - 0
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/request/ChengTaiFindCarModelRequest.java

@@ -0,0 +1,69 @@
+package com.jzg.quotation.chengtai.crawler.entity.request;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+import java.io.Serial;
+import java.io.Serializable;
+
+
+/**
+ * @ClassName ChengTaiFindCarModelRequest
+ * @Description 诚泰财险【爬虫】车型查询请求参数
+ * @Author wenks
+ * @Date 2025/9/11 17:15
+ * @Version 1.0
+ */
+@Data
+@AllArgsConstructor
+@NoArgsConstructor
+public class ChengTaiFindCarModelRequest implements Serializable {
+
+    @Serial
+    private static final long serialVersionUID = -2517394103523954743L;
+
+    @JsonProperty("horthandcode")
+    private String horthandcode;
+
+    @JsonProperty("purchasepriceStart")
+    private String purchasepriceStart;
+
+    @JsonProperty("purchasepriceEnd")
+    private String purchasepriceEnd;
+
+    @JsonProperty("modelcname")
+    private String modelcname;
+
+    @JsonProperty("carbrand")
+    private String carbrand;
+
+    @JsonProperty("modelcode")
+    private String modelcode;
+
+    @JsonProperty("familyname")
+    private String familyname;
+
+    @JsonProperty("factory")
+    private String factory;
+
+    @JsonProperty("pageNo")
+    private Integer pageNo;
+
+    @JsonProperty("pageSize")
+    private Integer pageSize;
+
+    public ChengTaiFindCarModelRequest(String modelcname) {
+        this.horthandcode = "";
+        this.purchasepriceStart = "";
+        this.purchasepriceEnd = "";
+        this.modelcname = modelcname;
+        this.carbrand = "";
+        this.modelcode = "";
+        this.familyname = "";
+        this.factory = "";
+        this.pageNo = 1;
+        this.pageSize = 20;
+    }
+}

+ 37 - 0
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/request/ChengTaiFindCoreConferInfoByHandleCodeRequest.java

@@ -0,0 +1,37 @@
+package com.jzg.quotation.chengtai.crawler.entity.request;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+import java.io.Serial;
+import java.io.Serializable;
+import java.util.List;
+
+/**
+ * @ClassName ChengTaiFindCoreConferInfoByHandleCodeRequest
+ * @Description 诚泰财险查询中介协议
+ * @Author wenks
+ * @Date 2025/9/12 11:42
+ * @Version 1.0
+ */
+@NoArgsConstructor
+@Data
+public class ChengTaiFindCoreConferInfoByHandleCodeRequest implements Serializable {
+
+    @Serial
+    private static final long serialVersionUID = 6084834752852069185L;
+
+    @JsonProperty("saleCode")
+    private String saleCode;
+
+    @JsonProperty("riskCodes")
+    private List<String> riskCodes;
+
+    public ChengTaiFindCoreConferInfoByHandleCodeRequest(String saleCode) {
+        this.saleCode = saleCode;
+        this.riskCodes = List.of("0801", "0821", "0822");
+    }
+
+}
+

+ 35 - 0
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/request/ChengTaiFindSaleManVoByDeptCodeRequest.java

@@ -0,0 +1,35 @@
+package com.jzg.quotation.chengtai.crawler.entity.request;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+import java.util.List;
+
+/**
+ * @ClassName ChengTaiFindSaleManVoByDeptCodeRequest
+ * @Description 获取业务员
+ * @Author wenks
+ * @Date 2025/9/12 11:11
+ * @Version 1.0
+ */
+@NoArgsConstructor
+@Data
+public class ChengTaiFindSaleManVoByDeptCodeRequest {
+
+    @JsonProperty("deptCode")
+    private String deptCode;
+
+    @JsonProperty("isOuter")
+    private Boolean isOuter;
+
+    @JsonProperty("riskCodes")
+    private List<String> riskCodes;
+
+    public ChengTaiFindSaleManVoByDeptCodeRequest(String deptCode) {
+        this.deptCode = deptCode;
+        this.isOuter = false;
+        this.riskCodes = List.of("0801", "0821", "0822");
+    }
+
+}

+ 1 - 1
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/request/ChengTaiGetCaptchaRequest.java → tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/request/ChengTaiGetCaptchaRequest.java

@@ -1,4 +1,4 @@
-package com.jzg.quotation.chengtai.crawler.model.request;
+package com.jzg.quotation.chengtai.crawler.entity.request;
 
 import com.fasterxml.jackson.annotation.JsonProperty;
 import lombok.Data;

+ 1 - 3
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/request/ChengTaiLoginRequest.java → tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/request/ChengTaiLoginRequest.java

@@ -1,8 +1,6 @@
-package com.jzg.quotation.chengtai.crawler.model.request;
+package com.jzg.quotation.chengtai.crawler.entity.request;
 
-import com.alibaba.fastjson.JSON;
 import com.fasterxml.jackson.annotation.JsonProperty;
-import com.jzg.quotation.chengtai.crawler.client.EncryptRSA;
 import lombok.AllArgsConstructor;
 import lombok.Data;
 

+ 975 - 0
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/request/ChengTaiPremiumcaRequest.java

@@ -0,0 +1,975 @@
+package com.jzg.quotation.chengtai.crawler.entity.request;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.jzg.commons.entity.quote.vo.*;
+import com.jzg.quotation.chengtai.crawler.entity.response.ChengTaiClientIdentifyResponse;
+import com.jzg.quotation.chengtai.crawler.entity.response.ChengTaiFindCarModelResponse;
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+import java.io.Serial;
+import java.io.Serializable;
+import java.util.List;
+import java.util.stream.Collectors;
+
+/**
+ * @ClassName ChengTaiPremiumcaRequest
+ * @Description 诚泰财险【爬虫】保费计算请求参数
+ * @Author wenks
+ * @Date 2025/9/11 17:30
+ * @Version 1.0
+ */
+@Data
+public class ChengTaiPremiumcaRequest implements Serializable {
+
+    @Serial
+    private static final long serialVersionUID = 805487501110961692L;
+
+    @JsonProperty("combo")
+    private ComboDTO combo;
+
+    @JsonProperty("flag")
+    private FlagDTO flag;
+
+    @JsonProperty("businessMain")
+    private BusinessMainDTO businessMain;
+
+    @JsonProperty("saleInfo")
+    private SaleInfoDTO saleInfo;
+
+    @JsonProperty("insuredObject")
+    private InsuredObjectDTO insuredObject;
+
+    @JsonProperty("applicant")
+    private PersonnelDTO applicant;
+
+    @JsonProperty("insured")
+    private PersonnelDTO insured;
+
+    @JsonProperty("owner")
+    private OwnerDTO owner;
+
+    @JsonProperty("biContract")
+    private BiContractDTO biContract;
+
+    @JsonProperty("ciContract")
+    private CiContractDTO ciContract;
+
+    @JsonProperty("accidentMain")
+    private AccidentMainDTO accidentMain;
+
+    @JsonProperty("accContract")
+    private AccContractDTO accContract;
+
+    @JsonProperty("submitReqBody")
+    private SubmitReqBodyDTO submitReqBody;
+
+    @JsonProperty("acciSaleInfo")
+    private AcciSaleInfoDTO acciSaleInfo;
+
+    public ChengTaiPremiumcaRequest(QuoteVo quoteVo, ChengTaiFindCarModelResponse.DataDTO carModel,
+                                    ChengTaiClientIdentifyResponse policyHolder, ChengTaiClientIdentifyResponse insuredPerson,
+                                    String actualValue) {
+        this.combo = new ComboDTO("1");
+        this.flag = new FlagDTO(false, false);
+        // 投保人
+        this.applicant = new PersonnelDTO(policyHolder);
+        // 被保人
+        this.insured = new PersonnelDTO(insuredPerson);
+        // 车主
+        this.owner = new OwnerDTO(quoteVo.getOwnersInfo());
+        // 车辆信息
+        this.insuredObject = new InsuredObjectDTO(quoteVo.getCarInfoVo(), actualValue, carModel);
+        // 交强险
+        this.ciContract = new CiContractDTO(quoteVo.getCiRiskInfoVo(), policyHolder);
+        // 商业险
+        this.biContract = new BiContractDTO(quoteVo.getBiRiskInfoVo(), quoteVo.getKindInfoVo());
+    }
+
+    @AllArgsConstructor
+    @NoArgsConstructor
+    @Data
+    public static class ComboDTO {
+        @JsonProperty("state")
+        private String state;
+    }
+
+    @AllArgsConstructor
+    @NoArgsConstructor
+    @Data
+    public static class FlagDTO {
+        @JsonProperty("isCopy")
+        private Boolean isCopy;
+        @JsonProperty("isRenewalFlag")
+        private Boolean isRenewalFlag;
+    }
+
+    @NoArgsConstructor
+    @Data
+    public static class BusinessMainDTO {
+        @JsonProperty("operatorCode")
+        private String operatorCode;
+        @JsonProperty("operatorName")
+        private String operatorName;
+        @JsonProperty("operateDate")
+        private String operateDate;
+        @JsonProperty("issueDate")
+        private String issueDate;
+        @JsonProperty("inputDate")
+        private String inputDate;
+        @JsonProperty("language")
+        private String language;
+        @JsonProperty("moneySuspiciousInd")
+        private String moneySuspiciousInd;
+        @JsonProperty("codInd")
+        private String codInd;
+        @JsonProperty("argueSolution")
+        private String argueSolution;
+        @JsonProperty("relateTradeType")
+        private String relateTradeType;
+        @JsonProperty("issueCompany")
+        private String issueCompany;
+        @JsonProperty("issueCompanyName")
+        private String issueCompanyName;
+        @JsonProperty("resourceType")
+        private String resourceType;
+        @JsonProperty("businessType")
+        private String businessType;
+        @JsonProperty("smsCheckFlag")
+        private String smsCheckFlag;
+        @JsonProperty("isTerror")
+        private String isTerror;
+        @JsonProperty("planCode")
+        private String planCode;
+        @JsonProperty("smsCodeFlag")
+        private String smsCodeFlag;
+        @JsonProperty("registerWay")
+        private String registerWay;
+        @JsonProperty("carmodel")
+        private String carmodel;
+        @JsonProperty("isCarReform")
+        private String isCarReform;
+        @JsonProperty("cashBusiness")
+        private String cashBusiness;
+        @JsonProperty("publicChanged")
+        private Boolean publicChanged;
+        @JsonProperty("biChanged")
+        private Boolean biChanged;
+        @JsonProperty("ciChanged")
+        private Boolean ciChanged;
+        @JsonProperty("carRegistFlag")
+        private String carRegistFlag;
+        @JsonProperty("biConfigAutoFlag")
+        private String biConfigAutoFlag;
+    }
+
+    @NoArgsConstructor
+    @Data
+    public static class SaleInfoDTO {
+        @JsonProperty("businessMode")
+        private String businessMode;
+        @JsonProperty("businessSource")
+        private String businessSource;
+        @JsonProperty("comCode")
+        private String comCode;
+        @JsonProperty("comName")
+        private String comName;
+        @JsonProperty("channelType")
+        private String channelType;
+        @JsonProperty("agreementNo")
+        private String agreementNo;
+        @JsonProperty("agreementNoName")
+        private String agreementNoName;
+        @JsonProperty("agentCode")
+        private String agentCode;
+        @JsonProperty("agentName")
+        private String agentName;
+        @JsonProperty("solutionCode")
+        private String solutionCode;
+        @JsonProperty("permitNo")
+        private String permitNo;
+        @JsonProperty("channelTypeDetail")
+        private String channelTypeDetail;
+        @JsonProperty("handlerCode")
+        private String handlerCode;
+        @JsonProperty("handlerName")
+        private String handlerName;
+        @JsonProperty("cooperateSiteCode")
+        private String cooperateSiteCode;
+        @JsonProperty("cooperateSiteName")
+        private String cooperateSiteName;
+        @JsonProperty("userCode")
+        private String userCode;
+        @JsonProperty("userName")
+        private String userName;
+    }
+
+    @NoArgsConstructor
+    @Data
+    public static class InsuredObjectDTO {
+        @JsonProperty("policyCar")
+        private PolicyCarDTO policyCar;
+
+        public InsuredObjectDTO(CarInfoVo carInfoVo, String actualValue, ChengTaiFindCarModelResponse.DataDTO carModel) {
+            this.policyCar = new PolicyCarDTO(carInfoVo, actualValue, carModel);
+        }
+
+        @NoArgsConstructor
+        @Data
+        public static class PolicyCarDTO {
+            @JsonProperty("vhlInfoType")
+            private String vhlInfoType;
+            @JsonProperty("plateNo")
+            private String plateNo;
+            @JsonProperty("vin")
+            private String vin;
+            @JsonProperty("engine")
+            private String engine;
+            @JsonProperty("noLicenseFlag")
+            private String noLicenseFlag;
+            @JsonProperty("brandName")
+            private String brandName;
+            @JsonProperty("modelCode")
+            private String modelCode;
+            @JsonProperty("printBrandName")
+            private String printBrandName;
+            @JsonProperty("registerDate")
+            private String registerDate;
+            @JsonProperty("issueDate")
+            private String issueDate;
+            @JsonProperty("enrollDate")
+            private String enrollDate;
+            @JsonProperty("transferMark")
+            private String transferMark;
+            @JsonProperty("carKindCode")
+            private String carKindCode;
+            @JsonProperty("carKindName")
+            private String carKindName;
+            @JsonProperty("useNatureCode")
+            private String useNatureCode;
+            @JsonProperty("useNatureName")
+            private String useNatureName;
+            @JsonProperty("attachNature")
+            private String attachNature;
+            @JsonProperty("attachNatureName")
+            private String attachNatureName;
+            @JsonProperty("purchasePrice")
+            private Integer purchasePrice;
+            @JsonProperty("orignPurchasePrice")
+            private Integer orignPurchasePrice;
+            @JsonProperty("actualValue")
+            private String actualValue;
+            @JsonProperty("consultValue")
+            private String consultValue;
+            @JsonProperty("plateType")
+            private String plateType;
+            @JsonProperty("plateTypeName")
+            private String plateTypeName;
+            @JsonProperty("vehicleType")
+            private String vehicleType;
+            @JsonProperty("vehicleTypeName")
+            private String vehicleTypeName;
+            @JsonProperty("energyTypes")
+            private String energyTypes;
+            @JsonProperty("carCheckStatus")
+            private String carCheckStatus;
+            @JsonProperty("carCheckerName")
+            private String carCheckerName;
+            @JsonProperty("carCheckTime")
+            private String carCheckTime;
+            @JsonProperty("approvedPassengersCapacity")
+            private Integer approvedPassengersCapacity;
+            @JsonProperty("approvedLoad")
+            private Integer approvedLoad;
+            @JsonProperty("power")
+            private String power;
+            @JsonProperty("displacement")
+            private Integer displacement;
+            @JsonProperty("exhaustScaleUnit")
+            private String exhaustScaleUnit;
+            @JsonProperty("loanVehicleFlag")
+            private String loanVehicleFlag;
+            @JsonProperty("ecdemicVehicleFlag")
+            private String ecdemicVehicleFlag;
+            @JsonProperty("deptCode")
+            private String deptCode;
+            @JsonProperty("deptName")
+            private String deptName;
+            @JsonProperty("useYears")
+            private String useYears;
+            @JsonProperty("seriesCode")
+            private String seriesCode;
+            @JsonProperty("series")
+            private String series;
+            @JsonProperty("seriesType")
+            private String seriesType;
+            @JsonProperty("brandCode")
+            private String brandCode;
+            @JsonProperty("brand")
+            private String brand;
+            @JsonProperty("shortHandCode")
+            private String shortHandCode;
+            @JsonProperty("vehicleKindCode")
+            private String vehicleKindCode;
+            @JsonProperty("carName")
+            private String carName;
+            @JsonProperty("monthDepRate")
+            private Double monthDepRate;
+            @JsonProperty("matchCiModelCode")
+            private String matchCiModelCode;
+            @JsonProperty("unladenMass")
+            private String unladenMass;
+            @JsonProperty("ciModelCode")
+            private String ciModelCode;
+            @JsonProperty("noticeType")
+            private String noticeType;
+            @JsonProperty("newCarSign")
+            private String newCarSign;
+            @JsonProperty("runArea")
+            private String runArea;
+            @JsonProperty("runAreaName")
+            private String runAreaName;
+            @JsonProperty("factoryName")
+            private String factoryName;
+            @JsonProperty("carTypeCode")
+            private String carTypeCode;
+            @JsonProperty("countryNature")
+            private String countryNature;
+            @JsonProperty("isEnergy")
+            private String isEnergy;
+            @JsonProperty("fraud")
+            private String fraud;
+            @JsonProperty("endorTransferMark")
+            private String endorTransferMark;
+            @JsonProperty("cimodelclass")
+            private String cimodelclass;
+
+            public PolicyCarDTO(CarInfoVo carInfoVo, String actualValue, ChengTaiFindCarModelResponse.DataDTO carModel) {
+                this.vhlInfoType = "1";
+                this.plateNo = carInfoVo.getLicenseNo();
+                this.vin = carInfoVo.getVinNo();
+                this.engine = carInfoVo.getEngineNo();
+                this.noLicenseFlag = "0";
+                this.brandName = carModel.getModelcname();
+                this.modelCode = carModel.getModelcode();
+                this.printBrandName = carModel.getModelcname();
+                this.registerDate = carInfoVo.getRegisterDate();
+                this.issueDate = carInfoVo.getIssueDate();
+                this.enrollDate = carInfoVo.getRegisterDate();
+                this.transferMark = carInfoVo.isTransfer() ? "1" : "0";
+                this.carKindCode = carInfoVo.getCarKindCode();
+                this.carKindName = carInfoVo.getCarKindName();
+                this.useNatureCode = carInfoVo.getVehicleUseCode();
+                this.useNatureName = carInfoVo.getVehicleUseName();
+                this.attachNature = carInfoVo.getProperty();
+                this.attachNatureName = carInfoVo.getPropertyName();
+                this.purchasePrice = Integer.valueOf(carModel.getPurchasepricenottax());
+                this.orignPurchasePrice = Integer.valueOf(carModel.getPurchasepricenottax());
+                this.actualValue = actualValue;
+                this.consultValue = actualValue;
+                this.plateType = carInfoVo.getLicenseColorCode();
+                this.plateTypeName = carInfoVo.getLicenseColorName();
+                this.vehicleType = carInfoVo.getCarTypeCode();
+                this.vehicleTypeName = carInfoVo.getCarTypeName();
+                this.energyTypes = carInfoVo.getEnergyTypeCode();
+
+                this.carCheckStatus = carCheckStatus;
+                this.carCheckerName = carCheckerName;
+                this.carCheckTime = carCheckTime;
+                this.approvedPassengersCapacity = Integer.valueOf(carInfoVo.getSeatCount());
+                this.approvedLoad = approvedLoad;
+                this.power = carModel.getPower();
+                this.displacement = Integer.valueOf(carModel.getExhaustscale());
+                this.exhaustScaleUnit = "cc";
+                this.loanVehicleFlag = "0";
+                this.ecdemicVehicleFlag = "0";
+                this.deptCode = "";
+                this.deptName = deptName;
+                this.useYears = useYears;
+                this.seriesCode = seriesCode;
+                this.series = series;
+                this.seriesType = seriesType;
+                this.brandCode = brandCode;
+                this.brand = brand;
+                this.shortHandCode = shortHandCode;
+                this.vehicleKindCode = vehicleKindCode;
+                this.carName = carName;
+                this.monthDepRate = monthDepRate;
+                this.matchCiModelCode = matchCiModelCode;
+                this.unladenMass = unladenMass;
+                this.ciModelCode = ciModelCode;
+                this.noticeType = carModel.getVehiclemodel();
+                this.newCarSign = "0";
+                this.runArea = "02";
+                this.runAreaName = "境内";
+                this.factoryName = "其他";
+                this.carTypeCode = "01";
+                this.countryNature = "0";
+                this.isEnergy = "0";
+                this.fraud = "0";
+                this.endorTransferMark = endorTransferMark;
+                this.cimodelclass = carModel.getCimodelclass();
+            }
+
+        }
+    }
+
+    @NoArgsConstructor
+    @Data
+    public static class PersonnelDTO {
+        @JsonProperty("type")
+        private String type;
+        @JsonProperty("role")
+        private String role;
+        @JsonProperty("isTerror")
+        private String isTerror;
+        @JsonProperty("customerId")
+        private String customerId;
+        @JsonProperty("name")
+        private String name;
+        @JsonProperty("identifyTypeCode")
+        private String identifyTypeCode;
+        @JsonProperty("identifyTypeName")
+        private String identifyTypeName;
+        @JsonProperty("identifyNumber")
+        private String identifyNumber;
+        @JsonProperty("province")
+        private String province;
+        @JsonProperty("city")
+        private String city;
+        @JsonProperty("district")
+        private String district;
+        @JsonProperty("provinceName")
+        private String provinceName;
+        @JsonProperty("cityName")
+        private String cityName;
+        @JsonProperty("districtName")
+        private String districtName;
+        @JsonProperty("addr")
+        private String addr;
+        @JsonProperty("completeAddress")
+        private String completeAddress;
+        @JsonProperty("mobile")
+        private String mobile;
+        @JsonProperty("specialClient")
+        private String specialClient;
+        @JsonProperty("identifyValidDate")
+        private String identifyValidDate;
+        @JsonProperty("identifyValidEndDate")
+        private String identifyValidEndDate;
+        @JsonProperty("sex")
+        private String sex;
+        @JsonProperty("birthday")
+        private String birthday;
+        @JsonProperty("email")
+        private String email;
+        @JsonProperty("operateFlag")
+        private String operateFlag;
+        @JsonProperty("longTerm")
+        private String longTerm;
+        @JsonProperty("terrorNationality")
+        private String terrorNationality;
+        @JsonProperty("terrorNationalityName")
+        private String terrorNationalityName;
+        @JsonProperty("isPolitics")
+        private String isPolitics;
+        @JsonProperty("individualBusinessInd")
+        private String individualBusinessInd;
+        @JsonProperty("microBusinessesInd")
+        private String microBusinessesInd;
+        @JsonProperty("signedbyOrig")
+        private String signedbyOrig;
+        @JsonProperty("comCode")
+        private String comCode;
+
+        public PersonnelDTO(ChengTaiClientIdentifyResponse policyHolder) {
+            this.type = policyHolder.getType();
+            this.role = policyHolder.getRole();
+            this.isTerror = policyHolder.getIsTerror();
+            this.customerId = policyHolder.getCustomerId();
+            this.name = policyHolder.getName();
+            this.identifyTypeCode = policyHolder.getIdentifyTypeCode();
+            this.identifyTypeName = policyHolder.getIdentifyTypeName();
+            this.identifyNumber = policyHolder.getIdentifyNumber();
+            this.province = policyHolder.getProvince();
+            this.city = policyHolder.getCity();
+            this.district = policyHolder.getDistrict();
+            this.provinceName = policyHolder.getProvinceName();
+            this.cityName = policyHolder.getCityName();
+            this.districtName = policyHolder.getDistrictName();
+            this.addr = policyHolder.getAddr();
+            this.completeAddress = policyHolder.getCompleteAddress();
+            this.mobile = policyHolder.getMobile();
+            this.specialClient = policyHolder.getSpecialClient();
+            this.identifyValidDate = policyHolder.getIdentifyValidDate();
+            this.identifyValidEndDate = policyHolder.getIdentifyValidEndDate();
+            this.sex = policyHolder.getSex();
+            this.birthday = policyHolder.getBirthday();
+            this.email = policyHolder.getEmail();
+            this.operateFlag = "Q";
+            this.longTerm = policyHolder.getLongTerm();
+            this.terrorNationality = policyHolder.getTerrorNationality();
+            this.terrorNationalityName = policyHolder.getTerrorNationalityName();
+            this.isPolitics = policyHolder.getIsPolitics();
+            this.individualBusinessInd = policyHolder.getIndividualBusinessInd();
+            this.microBusinessesInd = policyHolder.getMicroBusinessesInd();
+            this.signedbyOrig = "0";
+            this.comCode = policyHolder.getComCode();
+
+        }
+    }
+
+
+    @NoArgsConstructor
+    @Data
+    public static class OwnerDTO {
+        @JsonProperty("type")
+        private String type;
+        @JsonProperty("role")
+        private String role;
+        @JsonProperty("name")
+        private String name;
+        @JsonProperty("identifyTypeCode")
+        private String identifyTypeCode;
+        @JsonProperty("identifyTypeName")
+        private String identifyTypeName;
+        @JsonProperty("identifyNumber")
+        private String identifyNumber;
+        @JsonProperty("sex")
+        private String sex;
+        @JsonProperty("age")
+        private Integer age;
+        @JsonProperty("birthday")
+        private String birthday;
+        @JsonProperty("identifyValidDate")
+        private String identifyValidDate;
+        @JsonProperty("identifyValidEndDate")
+        private String identifyValidEndDate;
+        @JsonProperty("longTerm")
+        private String longTerm;
+
+        public OwnerDTO(CustomerInfoVo ownersInfo) {
+            this.type = "1";
+            this.role = "3";
+            this.name = ownersInfo.getName();
+            this.identifyTypeCode = ownersInfo.getIdentifyType();
+            this.identifyTypeName = ownersInfo.getIdentifyTypeName();
+            this.identifyNumber = ownersInfo.getIdentifyNumber();
+            this.sex = ownersInfo.getGender();
+            this.age = ownersInfo.getAge();
+            this.birthday = ownersInfo.getBirthday();
+            this.identifyValidDate = ownersInfo.getIdentifyValidDate();
+            this.identifyValidEndDate = ownersInfo.getIdentifyValidEndDate();
+            this.longTerm = "0";
+        }
+    }
+
+    @NoArgsConstructor
+    @Data
+    public static class BiContractDTO {
+        @JsonProperty("contractMain")
+        private ContractMainDTO contractMain;
+        @JsonProperty("coverage")
+        private List<CoverageDTO> coverage;
+
+        public BiContractDTO(RiskInfoVo biRiskInfoVo, List<KindInfoVo> kindInfoVo) {
+            this.contractMain = new ContractMainDTO(biRiskInfoVo);
+            this.coverage = kindInfoVo.stream().map(CoverageDTO::new).collect(Collectors.toList());
+        }
+
+        @NoArgsConstructor
+        @Data
+        public static class ContractMainDTO {
+            @JsonProperty("riskCode")
+            private String riskCode;
+            @JsonProperty("riskName")
+            private String riskName;
+            @JsonProperty("validAtOnce")
+            private String validAtOnce;
+            @JsonProperty("validDate")
+            private String validDate;
+            @JsonProperty("expiryDate")
+            private String expiryDate;
+            @JsonProperty("renewalFlag")
+            private String renewalFlag;
+            @JsonProperty("currency")
+            private String currency;
+            @JsonProperty("underWriteInd")
+            private String underWriteInd;
+
+
+            public ContractMainDTO(RiskInfoVo biRiskInfoVo) {
+                this.riskCode = riskCode;
+                this.riskName = riskName;
+                this.validAtOnce = validAtOnce;
+                this.validDate = validDate;
+                this.expiryDate = expiryDate;
+                this.renewalFlag = renewalFlag;
+                this.currency = currency;
+                this.underWriteInd = underWriteInd;
+            }
+        }
+
+        @NoArgsConstructor
+        @Data
+        public static class CoverageDTO {
+            @JsonProperty("amount")
+            private Integer amount;
+            @JsonProperty("basePremium")
+            private String basePremium;
+            @JsonProperty("coveragePremium")
+            private String coveragePremium;
+            @JsonProperty("calculateFlag")
+            private String calculateFlag;
+            @JsonProperty("ifMainKind")
+            private String ifMainKind;
+            @JsonProperty("kindCode")
+            private String kindCode;
+            @JsonProperty("kindFlag")
+            private Boolean kindFlag;
+            @JsonProperty("kindName")
+            private String kindName;
+            @JsonProperty("notDeductibleCalculateFlag")
+            private String notDeductibleCalculateFlag;
+            @JsonProperty("notDeductibleIfMainKind")
+            private String notDeductibleIfMainKind;
+            @JsonProperty("notDeductibleKindFlag")
+            private Boolean notDeductibleKindFlag;
+            @JsonProperty("relatedInd")
+            private String relatedInd;
+            @JsonProperty("validDate")
+            private String validDate;
+            @JsonProperty("expiryDate")
+            private String expiryDate;
+            @JsonProperty("currency")
+            private String currency;
+            @JsonProperty("shortRate")
+            private Integer shortRate;
+            @JsonProperty("shortRateType")
+            private String shortRateType;
+            @JsonProperty("quantity")
+            private String quantity;
+            @JsonProperty("unitAmount")
+            private String unitAmount;
+            @JsonProperty("show")
+            private Boolean show;
+
+            public CoverageDTO(KindInfoVo kindInfoVo) {
+                this.amount = amount;
+                this.basePremium = basePremium;
+                this.coveragePremium = coveragePremium;
+                this.calculateFlag = calculateFlag;
+                this.ifMainKind = ifMainKind;
+                this.kindCode = kindCode;
+                this.kindFlag = kindFlag;
+                this.kindName = kindName;
+                this.notDeductibleCalculateFlag = notDeductibleCalculateFlag;
+                this.notDeductibleIfMainKind = notDeductibleIfMainKind;
+                this.notDeductibleKindFlag = notDeductibleKindFlag;
+                this.relatedInd = relatedInd;
+                this.validDate = validDate;
+                this.expiryDate = expiryDate;
+                this.currency = currency;
+                this.shortRate = shortRate;
+                this.shortRateType = shortRateType;
+                this.quantity = quantity;
+                this.unitAmount = unitAmount;
+                this.show = show;
+            }
+
+        }
+    }
+
+    @NoArgsConstructor
+    @Data
+    public static class CiContractDTO {
+        @JsonProperty("contractMain")
+        private ContractMainDTO contractMain;
+        @JsonProperty("coverage")
+        private List<CoverageDTO> coverage;
+        @JsonProperty("tax")
+        private TaxDTO tax;
+
+        public CiContractDTO(RiskInfoVo ciRiskInfoVo, ChengTaiClientIdentifyResponse policyHolder) {
+            this.contractMain = new ContractMainDTO(ciRiskInfoVo.getStartDate(), ciRiskInfoVo.getEndDate());
+            this.coverage = CoverageDTO.getCoverage(ciRiskInfoVo.getStartDate(), ciRiskInfoVo.getEndDate());
+            this.tax = new TaxDTO(policyHolder);
+        }
+
+        @NoArgsConstructor
+        @Data
+        public static class ContractMainDTO {
+            @JsonProperty("riskCode")
+            private String riskCode;
+            @JsonProperty("riskName")
+            private String riskName;
+            @JsonProperty("validAtOnce")
+            private String validAtOnce;
+            @JsonProperty("validDate")
+            private String validDate;
+            @JsonProperty("expiryDate")
+            private String expiryDate;
+            @JsonProperty("renewalFlag")
+            private String renewalFlag;
+            @JsonProperty("currency")
+            private String currency;
+            @JsonProperty("sumAmount")
+            private String sumAmount;
+            @JsonProperty("underWriteInd")
+            private String underWriteInd;
+
+            public ContractMainDTO(String startDate, String endDate) {
+                this.riskCode = "1002";
+                this.riskName = "交强险";
+                this.validAtOnce = "0";
+                this.validDate = startDate;
+                this.expiryDate = endDate;
+                this.renewalFlag = "-1";
+                this.currency = "CNY";
+                this.sumAmount = "200000";
+                this.underWriteInd = "z1";
+            }
+        }
+
+        @NoArgsConstructor
+        @Data
+        public static class TaxDTO {
+            @JsonProperty("taxConditionCode")
+            private String taxConditionCode;
+            @JsonProperty("taxStartDate")
+            private String taxStartDate;
+            @JsonProperty("taxEndDate")
+            private String taxEndDate;
+            @JsonProperty("calculateMode")
+            private String calculateMode;
+            @JsonProperty("taxPayerIdentityType")
+            private String taxPayerIdentityType;
+            @JsonProperty("taxPayerIdentityNo")
+            private String taxPayerIdentityNo;
+            @JsonProperty("taxPayerIdentificationCode")
+            private String taxPayerIdentificationCode;
+            @JsonProperty("taxPayerName")
+            private String taxPayerName;
+            @JsonProperty("lastPaidYear")
+            private Integer lastPaidYear;
+            @JsonProperty("unladenMass")
+            private String unladenMass;
+
+            public TaxDTO(ChengTaiClientIdentifyResponse policyHolder) {
+                this.taxConditionCode = "1N";
+                this.taxStartDate = taxStartDate;
+                this.taxEndDate = taxEndDate;
+                this.calculateMode = "1";
+                this.taxPayerIdentityType = taxPayerIdentityType;
+                this.taxPayerIdentityNo = taxPayerIdentityNo;
+                this.taxPayerIdentificationCode = taxPayerIdentificationCode;
+                this.taxPayerName = taxPayerName;
+                this.lastPaidYear = lastPaidYear;
+                this.unladenMass = unladenMass;
+            }
+
+
+        }
+
+        @NoArgsConstructor
+        @Data
+        public static class CoverageDTO {
+            @JsonProperty("rate")
+            private Integer rate;
+            @JsonProperty("amount")
+            private String amount;
+            @JsonProperty("calculateFlag")
+            private String calculateFlag;
+            @JsonProperty("currency")
+            private String currency;
+            @JsonProperty("validDate")
+            private String validDate;
+            @JsonProperty("expiryDate")
+            private String expiryDate;
+            @JsonProperty("ifMainKind")
+            private String ifMainKind;
+            @JsonProperty("kindCode")
+            private String kindCode;
+            @JsonProperty("kindName")
+            private String kindName;
+            @JsonProperty("shortRate")
+            private Integer shortRate;
+            @JsonProperty("shortRateType")
+            private String shortRateType;
+
+            public static List<CoverageDTO> getCoverage(String startDate, String endDate) {
+                CoverageDTO coverageDTO = new CoverageDTO();
+                coverageDTO.setRate(0);
+                coverageDTO.setAmount("200000");
+                coverageDTO.setCalculateFlag("1");
+                coverageDTO.setCurrency("CNY");
+                coverageDTO.setValidDate(startDate);
+                coverageDTO.setExpiryDate(endDate);
+                coverageDTO.setIfMainKind("1");
+                coverageDTO.setKindCode("BZ");
+                coverageDTO.setKindName("机动车交通事故责任强制保险");
+                coverageDTO.setShortRate(100);
+                coverageDTO.setShortRateType("2");
+                return List.of(coverageDTO);
+            }
+        }
+    }
+
+    @NoArgsConstructor
+    @Data
+    public static class AccidentMainDTO {
+        @JsonProperty("id")
+        private String id;
+        @JsonProperty("planCode")
+        private String planCode;
+        @JsonProperty("comCode")
+        private String comCode;
+        @JsonProperty("totalPremium")
+        private Integer totalPremium;
+        @JsonProperty("coverages")
+        private List<CoveragesDTO> coverages;
+        @JsonProperty("validDate")
+        private String validDate;
+        @JsonProperty("expiryDate")
+        private String expiryDate;
+        @JsonProperty("insuredAmount")
+        private Integer insuredAmount;
+        @JsonProperty("createTime")
+        private String createTime;
+        @JsonProperty("riskCode")
+        private String riskCode;
+        @JsonProperty("amount")
+        private Integer amount;
+        @JsonProperty("name")
+        private String name;
+        @JsonProperty("detail")
+        private String detail;
+        @JsonProperty("seat")
+        private String seat;
+        @JsonProperty("feePercent")
+        private Integer feePercent;
+        @JsonProperty("assumpsit")
+        private String assumpsit;
+        @JsonProperty("carKindCode")
+        private String carKindCode;
+        @JsonProperty("useNatureCode")
+        private String useNatureCode;
+        @JsonProperty("type")
+        private String type;
+
+        @NoArgsConstructor
+        @Data
+        public static class CoveragesDTO {
+            @JsonProperty("id")
+            private String id;
+            @JsonProperty("createTime")
+            private String createTime;
+            @JsonProperty("liabilityCode")
+            private String liabilityCode;
+            @JsonProperty("amount")
+            private Integer amount;
+            @JsonProperty("premium")
+            private Integer premium;
+            @JsonProperty("totalPremium")
+            private Integer totalPremium;
+            @JsonProperty("name")
+            private String name;
+            @JsonProperty("productId")
+            private String productId;
+            @JsonProperty("productCode")
+            private String productCode;
+        }
+    }
+
+    @NoArgsConstructor
+    @Data
+    public static class AccContractDTO {
+        @JsonProperty("contractMain")
+        private ContractMainDTO contractMain;
+        @JsonProperty("coverage")
+        private List<CoverageDTO> coverage;
+
+        @NoArgsConstructor
+        @Data
+        public static class ContractMainDTO {
+            @JsonProperty("schemeName")
+            private String schemeName;
+            @JsonProperty("riskCode")
+            private String riskCode;
+            @JsonProperty("validDate")
+            private String validDate;
+            @JsonProperty("expiryDate")
+            private String expiryDate;
+            @JsonProperty("totalPremium")
+            private Integer totalPremium;
+        }
+
+        @NoArgsConstructor
+        @Data
+        public static class CoverageDTO {
+            @JsonProperty("kindCode")
+            private String kindCode;
+            @JsonProperty("kindName")
+            private String kindName;
+            @JsonProperty("validDate")
+            private String validDate;
+            @JsonProperty("expiryDate")
+            private String expiryDate;
+            @JsonProperty("amount")
+            private Integer amount;
+            @JsonProperty("coveragePremium")
+            private Integer coveragePremium;
+        }
+    }
+
+    @NoArgsConstructor
+    @Data
+    public static class SubmitReqBodyDTO {
+        @JsonProperty("businessType")
+        private String businessType;
+        @JsonProperty("mandatoryReviewFlag")
+        private Boolean mandatoryReviewFlag;
+        @JsonProperty("reinsuranceFlag")
+        private String reinsuranceFlag;
+        @JsonProperty("acciRelatedFlag")
+        private String acciRelatedFlag;
+    }
+
+    @NoArgsConstructor
+    @Data
+    public static class AcciSaleInfoDTO {
+        @JsonProperty("comCode")
+        private String comCode;
+        @JsonProperty("comName")
+        private String comName;
+        @JsonProperty("handlerCode")
+        private String handlerCode;
+        @JsonProperty("handlerName")
+        private String handlerName;
+        @JsonProperty("agreementNo")
+        private String agreementNo;
+        @JsonProperty("agentCode")
+        private String agentCode;
+        @JsonProperty("agentName")
+        private String agentName;
+        @JsonProperty("solutionCode")
+        private String solutionCode;
+        @JsonProperty("permitNo")
+        private String permitNo;
+        @JsonProperty("businessMode")
+        private String businessMode;
+        @JsonProperty("businessSource")
+        private String businessSource;
+        @JsonProperty("channelType")
+        private String channelType;
+        @JsonProperty("channelTypeDetail")
+        private String channelTypeDetail;
+        @JsonProperty("cooperateSiteCode")
+        private String cooperateSiteCode;
+        @JsonProperty("cooperateSiteName")
+        private String cooperateSiteName;
+    }
+
+
+}

+ 26 - 0
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/response/ChengTaiBaseResponse.java

@@ -0,0 +1,26 @@
+package com.jzg.quotation.chengtai.crawler.entity.response;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+import java.io.Serial;
+import java.io.Serializable;
+
+@Data
+@NoArgsConstructor
+public class ChengTaiBaseResponse<T> implements Serializable {
+
+    @Serial
+    private static final long serialVersionUID = -939802702931900294L;
+
+    @JsonProperty("code")
+    private Integer code;
+
+    @JsonProperty("message")
+    private String message;
+
+    @JsonProperty("body")
+    private T body;
+
+}

+ 54 - 0
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/response/ChengTaiCheckCaptchaResponse.java

@@ -0,0 +1,54 @@
+package com.jzg.quotation.chengtai.crawler.entity.response;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+import java.io.Serial;
+import java.io.Serializable;
+
+
+/**
+ * @ClassName ChengTaiCheckCaptchaResponse
+ * @Description 诚泰财险校验参数返回参数
+ * @Author wenks
+ * @Date 2025/9/9 16:43
+ * @Version 1.0
+ */
+@NoArgsConstructor
+@Data
+public class ChengTaiCheckCaptchaResponse implements Serializable {
+
+    @Serial
+    private static final long serialVersionUID = 4654164343556776638L;
+
+    @JsonProperty("repCode")
+    private String repCode;
+
+    @JsonProperty("repData")
+    private RepDataDTO repData;
+
+    @JsonProperty("repMsg")
+    private String repMsg;
+
+    @JsonProperty("success")
+    private Boolean success;
+
+    @NoArgsConstructor
+    @Data
+    public static class RepDataDTO {
+
+        @JsonProperty("captchaType")
+        private String captchaType;
+
+        @JsonProperty("pointJson")
+        private String pointJson;
+
+        @JsonProperty("token")
+        private String token;
+
+        @JsonProperty("result")
+        private Boolean result;
+
+    }
+}

+ 85 - 0
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/response/ChengTaiClientIdentifyResponse.java

@@ -0,0 +1,85 @@
+package com.jzg.quotation.chengtai.crawler.entity.response;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+import java.io.Serial;
+import java.io.Serializable;
+
+/**
+ * @ClassName ChengTaiClientIdentifyResponse
+ * @Description 诚泰财险【爬虫】 身份识别返回结果
+ * @Author wenks
+ * @Date 2025/9/11 17:23
+ * @Version 1.0
+ */
+@NoArgsConstructor
+@Data
+public class ChengTaiClientIdentifyResponse implements Serializable {
+
+    @Serial
+    private static final long serialVersionUID = -253652189372931548L;
+
+    @JsonProperty("isPolitics")
+    private String isPolitics;
+    @JsonProperty("type")
+    private String type;
+    @JsonProperty("role")
+    private String role;
+    @JsonProperty("isTerror")
+    private String isTerror;
+    @JsonProperty("customerId")
+    private String customerId;
+    @JsonProperty("name")
+    private String name;
+    @JsonProperty("identifyTypeCode")
+    private String identifyTypeCode;
+    @JsonProperty("identifyTypeName")
+    private String identifyTypeName;
+    @JsonProperty("identifyNumber")
+    private String identifyNumber;
+    @JsonProperty("province")
+    private String province;
+    @JsonProperty("provinceName")
+    private String provinceName;
+    @JsonProperty("city")
+    private String city;
+    @JsonProperty("cityName")
+    private String cityName;
+    @JsonProperty("district")
+    private String district;
+    @JsonProperty("districtName")
+    private String districtName;
+    @JsonProperty("addr")
+    private String addr;
+    @JsonProperty("completeAddress")
+    private String completeAddress;
+    @JsonProperty("mobile")
+    private String mobile;
+    @JsonProperty("specialClient")
+    private String specialClient;
+    @JsonProperty("sex")
+    private String sex;
+    @JsonProperty("birthday")
+    private String birthday;
+    @JsonProperty("email")
+    private String email;
+    @JsonProperty("comCode")
+    private String comCode;
+    @JsonProperty("identifyValidDate")
+    private String identifyValidDate;
+    @JsonProperty("identifyValidEndDate")
+    private String identifyValidEndDate;
+    @JsonProperty("longTerm")
+    private String longTerm;
+    @JsonProperty("terrorNationality")
+    private String terrorNationality;
+    @JsonProperty("terrorNationalityName")
+    private String terrorNationalityName;
+    @JsonProperty("microBusinessesInd")
+    private String microBusinessesInd;
+    @JsonProperty("individualBusinessInd")
+    private String individualBusinessInd;
+
+}

+ 24 - 0
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/response/ChengTaiFindAttributionOrgByUserResponse.java

@@ -0,0 +1,24 @@
+package com.jzg.quotation.chengtai.crawler.entity.response;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+import java.io.Serial;
+import java.io.Serializable;
+import java.util.List;
+
+@NoArgsConstructor
+@Data
+public class ChengTaiFindAttributionOrgByUserResponse implements Serializable {
+
+    @Serial
+    private static final long serialVersionUID = 4348740279631674506L;
+
+    @JsonProperty("deptCode")
+    private String deptCode;
+
+    @JsonProperty("deptName")
+    private String deptName;
+
+}

+ 154 - 0
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/response/ChengTaiFindCarModelResponse.java

@@ -0,0 +1,154 @@
+package com.jzg.quotation.chengtai.crawler.entity.response;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.jzg.quotation.commons.filter.CarModelsFilter;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+import java.io.Serial;
+import java.io.Serializable;
+import java.util.List;
+
+/**
+ * @ClassName ChengTaiFindCarModelResponse
+ * @Description 诚泰财险 获取车系车型列表
+ * @Author wenks
+ * @Date 2025/9/11 17:16
+ * @Version 1.0
+ */
+@NoArgsConstructor
+@Data
+public class ChengTaiFindCarModelResponse implements Serializable {
+
+    @Serial
+    private static final long serialVersionUID = 754593016131642620L;
+
+    @JsonProperty("data")
+    private List<DataDTO> data;
+
+    @JsonProperty("totalCount")
+    private String totalCount;
+
+    @NoArgsConstructor
+    @Data
+    public static class DataDTO implements Serializable, CarModelsFilter {
+
+        @Serial
+        private static final long serialVersionUID = -5953082109161069755L;
+
+        @JsonProperty("modelcode")
+        private String modelcode;
+
+        @JsonProperty("modelcname")
+        private String modelcname;
+
+        @JsonProperty("vehicleclass")
+        private String vehicleclass;
+
+        @JsonProperty("vehicleType")
+        private String vehicleType;
+
+        @JsonProperty("factory")
+        private String factory;
+
+        @JsonProperty("factoryid")
+        private String factoryid;
+
+        @JsonProperty("carbrand")
+        private String carbrand;
+
+        @JsonProperty("brandid")
+        private String brandid;
+
+        @JsonProperty("familyname")
+        private String familyname;
+
+        @JsonProperty("familycode")
+        private String familycode;
+
+        @JsonProperty("purchaseprice")
+        private String purchaseprice;
+
+        @JsonProperty("analogymodelprice")
+        private String analogymodelprice;
+
+        @JsonProperty("purchasepricenottax")
+        private String purchasepricenottax;
+
+        @JsonProperty("analogymodelpricenottax")
+        private String analogymodelpricenottax;
+
+        @JsonProperty("carstyle")
+        private String carstyle;
+
+        @JsonProperty("syxclassid")
+        private String syxclassid;
+
+        @JsonProperty("syxclassname")
+        private String syxclassname;
+
+        @JsonProperty("jqxclassid")
+        private String jqxclassid;
+
+        @JsonProperty("cimodelclass")
+        private String cimodelclass;
+
+        @JsonProperty("shorthandcode")
+        private String shorthandcode;
+
+        @JsonProperty("exhaustscale")
+        private String exhaustscale;
+
+        @JsonProperty("seatcount")
+        private String seatcount;
+
+        @JsonProperty("caryear")
+        private String caryear;
+
+        @JsonProperty("transmissionttype")
+        private String transmissionttype;
+
+        @JsonProperty("remark")
+        private String remark;
+
+        @JsonProperty("vehiclequalitymin")
+        private String vehiclequalitymin;
+
+        @JsonProperty("validind")
+        private String validind;
+
+        @JsonProperty("power")
+        private String power;
+
+        @JsonProperty("vehiclemodel")
+        private String vehiclemodel;
+
+        @JsonProperty("powertype")
+        private String powertype;
+
+        @JsonProperty("hfnamenew")
+        private String hfnamenew;
+
+        @JsonProperty("hfcodenew")
+        private String hfcodenew;
+
+        @JsonProperty("fullweightmax")
+        private String fullweightmax;
+
+        @JsonProperty("fullweightmin")
+        private String fullweightmin;
+
+        @JsonProperty("updateVersion")
+        private String updateVersion;
+
+        @Override
+        public String getCarYear() {
+            return caryear;
+        }
+
+        @Override
+        public String getPurchasePrice() {
+            return purchaseprice;
+        }
+    }
+}

+ 55 - 0
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/response/ChengTaiFindCoreConferInfoByHandleCodeResponse.java

@@ -0,0 +1,55 @@
+package com.jzg.quotation.chengtai.crawler.entity.response;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+import java.io.Serial;
+import java.io.Serializable;
+
+@NoArgsConstructor
+@Data
+public class ChengTaiFindCoreConferInfoByHandleCodeResponse implements Serializable {
+
+    @Serial
+    private static final long serialVersionUID = -3055312626646637349L;
+
+    @JsonProperty("agreementCode")
+    private String agreementCode;
+
+    @JsonProperty("intermediaryCode")
+    private String intermediaryCode;
+
+    @JsonProperty("solutionCode")
+    private String solutionCode;
+
+    @JsonProperty("companyCode")
+    private String companyCode;
+
+    @JsonProperty("intermediaryName")
+    private String intermediaryName;
+
+    @JsonProperty("registerCode")
+    private String registerCode;
+
+    @JsonProperty("intermediaryKind")
+    private String intermediaryKind;
+
+    @JsonProperty("channelDetailCode")
+    private String channelDetailCode;
+
+    @JsonProperty("channelTip")
+    private String channelTip;
+
+    @JsonProperty("expireDate")
+    private String expireDate;
+
+    @JsonProperty("source")
+    private String source;
+
+    @JsonProperty("cooperateSiteCode")
+    private String cooperateSiteCode;
+
+    @JsonProperty("relationRisks")
+    private String relationRisks;
+}

+ 62 - 0
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/response/ChengTaiFindSaleManVoByDeptCodeResponse.java

@@ -0,0 +1,62 @@
+package com.jzg.quotation.chengtai.crawler.entity.response;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+import java.io.Serial;
+import java.io.Serializable;
+
+/**
+ * @ClassName ChengTaiFindSaleManVoByDeptCodeResponse
+ * @Description 获取业务员响应
+ * @Author wenks
+ * @Date 2025/9/12 11:14
+ * @Version 1.0
+ */
+@NoArgsConstructor
+@Data
+public class ChengTaiFindSaleManVoByDeptCodeResponse implements Serializable {
+
+    @Serial
+    private static final long serialVersionUID = -4843754896867926635L;
+
+    @JsonProperty("id")
+    private String id;
+
+    @JsonProperty("page")
+    private PageDTO page;
+
+    @JsonProperty("userCode")
+    private String userCode;
+
+    @JsonProperty("username")
+    private String username;
+
+    @JsonProperty("deptCode")
+    private String deptCode;
+
+    @JsonProperty("userInd")
+    private String userInd;
+
+    @JsonProperty("validInd")
+    private String validInd;
+
+    @JsonProperty("companyCode")
+    private String companyCode;
+
+    @NoArgsConstructor
+    @Data
+    public static class PageDTO {
+
+        @JsonProperty("pageIndex")
+        private Integer pageIndex;
+
+        @JsonProperty("pageSize")
+        private Integer pageSize;
+
+        @JsonProperty("orderBy")
+        private String orderBy;
+
+    }
+}

+ 31 - 0
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/response/ChengTaiGetCIModelCodeResponse.java

@@ -0,0 +1,31 @@
+package com.jzg.quotation.chengtai.crawler.entity.response;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+
+/**
+ * @ClassName ChengTaiGetCIModelCodeResponse
+ * @Description 获取车系代码
+ * @Author wenks
+ * @Date 2025/9/12 17:20
+ * @Version 1.0
+ */
+@NoArgsConstructor
+@Data
+public class ChengTaiGetCIModelCodeResponse {
+
+    @JsonProperty("ciModelCode")
+    private String ciModelCode;
+
+    @JsonProperty("noticeType")
+    private String noticeType;
+
+    @JsonProperty("carName")
+    private String carName;
+
+    @JsonProperty("jyModelCode")
+    private String jyModelCode;
+
+}

+ 1 - 15
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/response/ChengTaiGetCaptchaResponse.java → tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/response/ChengTaiGetCaptchaResponse.java

@@ -1,4 +1,4 @@
-package com.jzg.quotation.chengtai.crawler.model.response;
+package com.jzg.quotation.chengtai.crawler.entity.response;
 
 
 import com.fasterxml.jackson.annotation.JsonProperty;
@@ -16,19 +16,6 @@ import lombok.NoArgsConstructor;
 @Data
 public class ChengTaiGetCaptchaResponse {
 
-    @JsonProperty("code")
-    private Integer code;
-
-    @JsonProperty("message")
-    private String message;
-
-    @JsonProperty("body")
-    private BodyDTO body;
-
-    @NoArgsConstructor
-    @Data
-    public static class BodyDTO {
-
         @JsonProperty("repCode")
         private String repCode;
 
@@ -55,5 +42,4 @@ public class ChengTaiGetCaptchaResponse {
             private String token;
 
         }
-    }
 }

+ 1 - 1
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/response/ChengTaiLoginResponse.java → tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/response/ChengTaiLoginResponse.java

@@ -1,4 +1,4 @@
-package com.jzg.quotation.chengtai.crawler.model.response;
+package com.jzg.quotation.chengtai.crawler.entity.response;
 
 import com.fasterxml.jackson.annotation.JsonProperty;
 import lombok.Data;

+ 537 - 0
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/entity/response/ChengTaiPremiumcaResponse.java

@@ -0,0 +1,537 @@
+package com.jzg.quotation.chengtai.crawler.entity.response;
+
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+import java.io.Serial;
+import java.io.Serializable;
+import java.util.List;
+
+/**
+ * @ClassName ChengTaiPremiumcalesponse
+ * @Description 诚泰财险【爬虫】保费计算响应参数
+ * @Author wenks
+ * @Date 2025/9/11 17:31
+ * @Version 1.0
+ */
+@NoArgsConstructor
+@Data
+public class ChengTaiPremiumcaResponse implements Serializable {
+
+    @Serial
+    private static final long serialVersionUID = 5774031266902300908L;
+
+    @JsonProperty("insuredObject")
+    private InsuredObjectDTO insuredObject;
+
+    @JsonProperty("ciContract")
+    private CiContractDTO ciContract;
+
+    @JsonProperty("biContract")
+    private BiContractDTO biContract;
+
+    @JsonProperty("ubiInfo")
+    private UbiInfoDTO ubiInfo;
+
+    @JsonProperty("riskIdentifyInfo")
+    private RiskIdentifyInfoDTO riskIdentifyInfo;
+
+    @JsonProperty("sunlightId")
+    private String sunlightId;
+
+    @JsonProperty("carRegistFlag")
+    private String carRegistFlag;
+
+    @JsonProperty("ilogRuleResult")
+    private IlogRuleResultDTO ilogRuleResult;
+
+    @JsonProperty("blackId")
+    private String blackId;
+    @JsonProperty("blackRisk")
+
+    private List<?> blackRisk;
+
+    @JsonProperty("yztScore")
+    private YztScoreDTO yztScore;
+
+    @JsonProperty("ocftId")
+    private String ocftId;
+
+    @JsonProperty("planCode")
+    private String planCode;
+
+    @NoArgsConstructor
+    @Data
+    public static class InsuredObjectDTO {
+    }
+
+    @NoArgsConstructor
+    @Data
+    public static class CiContractDTO {
+        @JsonProperty("contractMain")
+        private ContractMainDTO contractMain;
+        @JsonProperty("coverage")
+        private List<CoverageDTO> coverage;
+        @JsonProperty("platFormMessage")
+        private PlatFormMessageDTO platFormMessage;
+        @JsonProperty("adjust")
+        private List<AdjustDTO> adjust;
+        @JsonProperty("tax")
+        private TaxDTO tax;
+
+        @NoArgsConstructor
+        @Data
+        public static class ContractMainDTO {
+            @JsonProperty("riskCode")
+            private String riskCode;
+            @JsonProperty("riskName")
+            private String riskName;
+            @JsonProperty("validAtOnce")
+            private String validAtOnce;
+            @JsonProperty("validDate")
+            private String validDate;
+            @JsonProperty("expiryDate")
+            private String expiryDate;
+            @JsonProperty("renewalFlag")
+            private String renewalFlag;
+            @JsonProperty("currency")
+            private String currency;
+            @JsonProperty("sumAmount")
+            private Double sumAmount;
+            @JsonProperty("totalPremium")
+            private Double totalPremium;
+            @JsonProperty("noTaxPremium")
+            private Double noTaxPremium;
+            @JsonProperty("totalStandardPremium")
+            private Double totalStandardPremium;
+            @JsonProperty("totalRiskPremium")
+            private Double totalRiskPremium;
+            @JsonProperty("vat")
+            private Double vat;
+            @JsonProperty("sumTax")
+            private Double sumTax;
+            @JsonProperty("discount")
+            private Double discount;
+            @JsonProperty("querySequenceNo")
+            private String querySequenceNo;
+            @JsonProperty("querySeqExpireDate")
+            private String querySeqExpireDate;
+            @JsonProperty("isCIFlag")
+            private String isCIFlag;
+        }
+
+        @NoArgsConstructor
+        @Data
+        public static class PlatFormMessageDTO {
+            @JsonProperty("querySequenceNo")
+            private String querySequenceNo;
+            @JsonProperty("expireDate")
+            private String expireDate;
+            @JsonProperty("reinsuranceFlag")
+            private String reinsuranceFlag;
+            @JsonProperty("lastPolicyEffectiveDate")
+            private String lastPolicyEffectiveDate;
+            @JsonProperty("lastPolicyExpireDate")
+            private String lastPolicyExpireDate;
+            @JsonProperty("ciCarKind")
+            private String ciCarKind;
+            @JsonProperty("claimaAdjustReason")
+            private String claimaAdjustReason;
+            @JsonProperty("claimaAdjustReasonName")
+            private String claimaAdjustReasonName;
+        }
+
+        @NoArgsConstructor
+        @Data
+        public static class TaxDTO {
+            @JsonProperty("taxConditionCode")
+            private String taxConditionCode;
+            @JsonProperty("taxStartDate")
+            private String taxStartDate;
+            @JsonProperty("taxEndDate")
+            private String taxEndDate;
+            @JsonProperty("taxItemCode")
+            private String taxItemCode;
+            @JsonProperty("taxItemName")
+            private String taxItemName;
+            @JsonProperty("calculateMode")
+            private String calculateMode;
+            @JsonProperty("taxPayerIdentityType")
+            private String taxPayerIdentityType;
+            @JsonProperty("taxPayerIdentityNo")
+            private String taxPayerIdentityNo;
+            @JsonProperty("taxPayerIdentificationCode")
+            private String taxPayerIdentificationCode;
+            @JsonProperty("taxPayerName")
+            private String taxPayerName;
+            @JsonProperty("lastPaidYear")
+            private Integer lastPaidYear;
+            @JsonProperty("annualTaxAmount")
+            private Double annualTaxAmount;
+            @JsonProperty("annualTaxDue")
+            private Double annualTaxDue;
+            @JsonProperty("sumTaxDefault")
+            private Double sumTaxDefault;
+            @JsonProperty("sumOverdue")
+            private Double sumOverdue;
+            @JsonProperty("sumTax")
+            private Double sumTax;
+            @JsonProperty("unladenMass")
+            private String unladenMass;
+        }
+
+        @NoArgsConstructor
+        @Data
+        public static class CoverageDTO {
+            @JsonProperty("kindCode")
+            private String kindCode;
+            @JsonProperty("kindName")
+            private String kindName;
+            @JsonProperty("ifMainKind")
+            private String ifMainKind;
+            @JsonProperty("calculateFlag")
+            private String calculateFlag;
+            @JsonProperty("validDate")
+            private String validDate;
+            @JsonProperty("expiryDate")
+            private String expiryDate;
+            @JsonProperty("currency")
+            private String currency;
+            @JsonProperty("amount")
+            private Integer amount;
+            @JsonProperty("basePremium")
+            private Double basePremium;
+            @JsonProperty("coverageStandardPremium")
+            private Double coverageStandardPremium;
+            @JsonProperty("coveragePremium")
+            private Double coveragePremium;
+            @JsonProperty("coveragePremiumNoTax")
+            private Double coveragePremiumNoTax;
+            @JsonProperty("coverageTax")
+            private Double coverageTax;
+            @JsonProperty("rate")
+            private Integer rate;
+            @JsonProperty("shortRate")
+            private Double shortRate;
+            @JsonProperty("shortRateType")
+            private String shortRateType;
+            @JsonProperty("discount")
+            private Double discount;
+            @JsonProperty("costPrem")
+            private Double costPrem;
+            @JsonProperty("coverageRiskPremium")
+            private Double coverageRiskPremium;
+        }
+
+        @NoArgsConstructor
+        @Data
+        public static class AdjustDTO {
+            @JsonProperty("adjustCode")
+            private String adjustCode;
+            @JsonProperty("adjustName")
+            private String adjustName;
+            @JsonProperty("adjustRate")
+            private Double adjustRate;
+        }
+    }
+
+    @NoArgsConstructor
+    @Data
+    public static class BiContractDTO {
+        @JsonProperty("contractMain")
+        private ContractMainDTO contractMain;
+        @JsonProperty("coverage")
+        private List<CoverageDTO> coverage;
+        @JsonProperty("platFormMessage")
+        private PlatFormMessageDTO platFormMessage;
+        @JsonProperty("discountInfo")
+        private DiscountInfoDTO discountInfo;
+        @JsonProperty("adjust")
+        private List<AdjustDTO> adjust;
+
+        @NoArgsConstructor
+        @Data
+        public static class ContractMainDTO {
+            @JsonProperty("riskCode")
+            private String riskCode;
+            @JsonProperty("riskName")
+            private String riskName;
+            @JsonProperty("validAtOnce")
+            private String validAtOnce;
+            @JsonProperty("validDate")
+            private String validDate;
+            @JsonProperty("expiryDate")
+            private String expiryDate;
+            @JsonProperty("renewalFlag")
+            private String renewalFlag;
+            @JsonProperty("currency")
+            private String currency;
+            @JsonProperty("sumAmount")
+            private Double sumAmount;
+            @JsonProperty("totalPremium")
+            private Double totalPremium;
+            @JsonProperty("noTaxPremium")
+            private Double noTaxPremium;
+            @JsonProperty("totalStandardPremium")
+            private Double totalStandardPremium;
+            @JsonProperty("totalRiskPremium")
+            private Double totalRiskPremium;
+            @JsonProperty("vat")
+            private Double vat;
+            @JsonProperty("discount")
+            private Double discount;
+            @JsonProperty("hopeDiscount")
+            private Double hopeDiscount;
+            @JsonProperty("querySequenceNo")
+            private String querySequenceNo;
+            @JsonProperty("querySeqExpireDate")
+            private String querySeqExpireDate;
+            @JsonProperty("hopeCoefficient")
+            private Double hopeCoefficient;
+            @JsonProperty("isCheckRepeated")
+            private String isCheckRepeated;
+        }
+
+        @NoArgsConstructor
+        @Data
+        public static class PlatFormMessageDTO {
+            @JsonProperty("querySequenceNo")
+            private String querySequenceNo;
+            @JsonProperty("queryDate")
+            private String queryDate;
+            @JsonProperty("expireDate")
+            private String expireDate;
+            @JsonProperty("reinsuranceFlag")
+            private String reinsuranceFlag;
+            @JsonProperty("nonClaimAdjust")
+            private String nonClaimAdjust;
+            @JsonProperty("lastPolicyEffectiveDate")
+            private String lastPolicyEffectiveDate;
+            @JsonProperty("lastPolicyExpireDate")
+            private String lastPolicyExpireDate;
+            @JsonProperty("ciModelCode")
+            private String ciModelCode;
+            @JsonProperty("ciCarKind")
+            private String ciCarKind;
+            @JsonProperty("insureYears")
+            private String insureYears;
+            @JsonProperty("claimTimes")
+            private String claimTimes;
+            @JsonProperty("claimAdjustLevel")
+            private String claimAdjustLevel;
+            @JsonProperty("modelEnergyType")
+            private String modelEnergyType;
+            @JsonProperty("scoreCode")
+            private String scoreCode;
+            @JsonProperty("score")
+            private Integer score;
+        }
+
+        @NoArgsConstructor
+        @Data
+        public static class DiscountInfoDTO {
+            @JsonProperty("ctpCostPrem")
+            private Double ctpCostPrem;
+            @JsonProperty("entireExpDiscount")
+            private Double entireExpDiscount;
+            @JsonProperty("entireRecommenDiscount")
+            private Double entireRecommenDiscount;
+            @JsonProperty("entireUwritingDiscount")
+            private Double entireUwritingDiscount;
+            @JsonProperty("billCtpElr")
+            private Double billCtpElr;
+            @JsonProperty("billComElr")
+            private Double billComElr;
+            @JsonProperty("billElr")
+            private Double billElr;
+            @JsonProperty("commissionFlag")
+            private String commissionFlag;
+            @JsonProperty("uwDiscFixed")
+            private String uwDiscFixed;
+            @JsonProperty("uwDiscLimit")
+            private String uwDiscLimit;
+            @JsonProperty("uwDiscFloor")
+            private String uwDiscFloor;
+            @JsonProperty("ctpCostPremFlag")
+            private String ctpCostPremFlag;
+            @JsonProperty("entireRawInitialDiscount")
+            private Double entireRawInitialDiscount;
+            @JsonProperty("entireInitialDiscount")
+            private Double entireInitialDiscount;
+            @JsonProperty("entireFloatDiscount")
+            private String entireFloatDiscount;
+            @JsonProperty("billComCommission")
+            private String billComCommission;
+            @JsonProperty("billComcor")
+            private String billComcor;
+            @JsonProperty("billCtpcor")
+            private String billCtpcor;
+            @JsonProperty("billCor")
+            private String billCor;
+            @JsonProperty("ncdBpremElr")
+            private String ncdBpremElr;
+            @JsonProperty("sunlightScore")
+            private String sunlightScore;
+            @JsonProperty("exceptionFlag")
+            private String exceptionFlag;
+            @JsonProperty("initialCtpElr")
+            private Double initialCtpElr;
+            @JsonProperty("initialComElr")
+            private Double initialComElr;
+            @JsonProperty("initialElr")
+            private Double initialElr;
+            @JsonProperty("effectInfoDTOList")
+            private List<EffectInfoDTOListDTO> effectInfoDTOList;
+            @JsonProperty("entireRecommenDiscount1")
+            private Double entireRecommenDiscount1;
+            @JsonProperty("entireRecommenDiscount2")
+            private Double entireRecommenDiscount2;
+            @JsonProperty("distributionDiscount")
+            private Double distributionDiscount;
+            @JsonProperty("distributionDiscount2")
+            private Double distributionDiscount2;
+            @JsonProperty("rawRecommenElr")
+            private Double rawRecommenElr;
+            @JsonProperty("rawRecommenElr1")
+            private Double rawRecommenElr1;
+            @JsonProperty("rawDistributionElr")
+            private Double rawDistributionElr;
+            @JsonProperty("rawDistributionElr1")
+            private Double rawDistributionElr1;
+
+            @NoArgsConstructor
+            @Data
+            public static class EffectInfoDTOListDTO {
+                @JsonProperty("effectName")
+                private String effectName;
+                @JsonProperty("effectValue")
+                private String effectValue;
+                @JsonProperty("effectinfo")
+                private String effectinfo;
+                @JsonProperty("effectCode")
+                private String effectCode;
+            }
+        }
+
+        @NoArgsConstructor
+        @Data
+        public static class CoverageDTO {
+            @JsonProperty("kindCode")
+            private String kindCode;
+            @JsonProperty("kindName")
+            private String kindName;
+            @JsonProperty("ifMainKind")
+            private String ifMainKind;
+            @JsonProperty("calculateFlag")
+            private String calculateFlag;
+            @JsonProperty("validDate")
+            private String validDate;
+            @JsonProperty("expiryDate")
+            private String expiryDate;
+            @JsonProperty("currency")
+            private String currency;
+            @JsonProperty("amount")
+            private Integer amount;
+            @JsonProperty("basePremium")
+            private Double basePremium;
+            @JsonProperty("coverageStandardPremium")
+            private Double coverageStandardPremium;
+            @JsonProperty("coveragePremium")
+            private Double coveragePremium;
+            @JsonProperty("coveragePremiumNoTax")
+            private Double coveragePremiumNoTax;
+            @JsonProperty("coverageTax")
+            private Double coverageTax;
+            @JsonProperty("rate")
+            private Double rate;
+            @JsonProperty("shortRate")
+            private Double shortRate;
+            @JsonProperty("shortRateType")
+            private String shortRateType;
+            @JsonProperty("deductibleRate")
+            private Integer deductibleRate;
+            @JsonProperty("discount")
+            private Double discount;
+            @JsonProperty("costPrem")
+            private Double costPrem;
+            @JsonProperty("coverageRiskPremium")
+            private Double coverageRiskPremium;
+            @JsonProperty("quantity")
+            private Integer quantity;
+            @JsonProperty("unitAmount")
+            private Integer unitAmount;
+        }
+
+        @NoArgsConstructor
+        @Data
+        public static class AdjustDTO {
+            @JsonProperty("adjustCode")
+            private String adjustCode;
+            @JsonProperty("adjustName")
+            private String adjustName;
+            @JsonProperty("adjustRate")
+            private Double adjustRate;
+            @JsonProperty("maxRate")
+            private Double maxRate;
+            @JsonProperty("minRate")
+            private Double minRate;
+        }
+    }
+
+    @NoArgsConstructor
+    @Data
+    public static class UbiInfoDTO {
+    }
+
+    @NoArgsConstructor
+    @Data
+    public static class RiskIdentifyInfoDTO {
+        @JsonProperty("highRiskHit")
+        private String highRiskHit;
+    }
+
+    @NoArgsConstructor
+    @Data
+    public static class IlogRuleResultDTO {
+        @JsonProperty("underwriteDirectory")
+        private String underwriteDirectory;
+        @JsonProperty("authorityList")
+        private List<AuthorityListDTO> authorityList;
+
+        @NoArgsConstructor
+        @Data
+        public static class AuthorityListDTO {
+            @JsonProperty("authorityLevel")
+            private String authorityLevel;
+            @JsonProperty("dataType")
+            private String dataType;
+            @JsonProperty("reasondescription")
+            private String reasondescription;
+            @JsonProperty("ruleSetName")
+            private String ruleSetName;
+            @JsonProperty("riskCode")
+            private String riskCode;
+            @JsonProperty("finalRuleResult")
+            private String finalRuleResult;
+        }
+    }
+
+    @NoArgsConstructor
+    @Data
+    public static class YztScoreDTO {
+        @JsonProperty("scoreId")
+        private String scoreId;
+        @JsonProperty("centile")
+        private Integer centile;
+        @JsonProperty("commercialPureLost")
+        private Double commercialPureLost;
+        @JsonProperty("finalLossrationRate")
+        private Double finalLossrationRate;
+        @JsonProperty("forcePureLost")
+        private Double forcePureLost;
+        @JsonProperty("targetPureLost")
+        private Double targetPureLost;
+    }
+}

+ 0 - 70
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiAcciSaleInfo.java

@@ -1,70 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-@Setter
-@Getter
-public class ChengTaiAcciSaleInfo extends UnknownFieldEntity {
-    /**
-     * 业务模式
-     */
-    private String businessMode;
-    /**
-     * 业务来源
-     */
-    private String businessSource;
-    /**
-     * 公司代码
-     */
-    private String comCode;
-    /**
-     * 公司名称
-     */
-    private String comName;
-    /**
-     * 渠道类型
-     */
-    private String channelType;
-    /**
-     * 协议号
-     */
-    private String agreementNo;
-    /**
-     * 代理代码
-     */
-    private String agentCode;
-    /**
-     * 代理名称
-     */
-    private String agentName;
-    /**
-     * 方案代码
-     */
-    private String solutionCode;
-    /**
-     * 许可证号
-     */
-    private String permitNo;
-    /**
-     * 渠道类型明细
-     */
-    private String channelTypeDetail;
-    /**
-     * 处理人代码
-     */
-    private String handlerCode;
-    /**
-     * 处理人名称
-     */
-    private String handlerName;
-    /**
-     * 合作网点代码
-     */
-    private String cooperateSiteCode;
-    /**
-     * 合作网点名称
-     */
-    private String cooperateSiteName;
-}

+ 0 - 146
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiAccidentInsurance.java

@@ -1,146 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-import java.util.List;
-
-@Setter
-@Getter
-public class ChengTaiAccidentInsurance extends UnknownFieldEntity {
-    /**
-     * 产品ID
-     */
-    private String id;
-
-    /**
-     * 创建时间
-     */
-    private String createTime;
-
-    /**
-     * 方案代码
-     */
-    private String planCode;
-
-    /**
-     * 险种代码
-     */
-    private String riskCode;
-
-    /**
-     * 保额(字符串类型存储double值)
-     */
-    private String amount;
-
-    /**
-     * 总保费(字符串类型存储double值)
-     */
-    private String totalPremium;
-
-    /**
-     * 公司代码
-     */
-    private String comCode;
-
-    /**
-     * 产品名称
-     */
-    private String name;
-
-    /**
-     * 产品详情
-     */
-    private String detail;
-
-    /**
-     * 座位数(字符串类型存储数值)
-     */
-    private String seat;
-
-    /**
-     * 手续费比例(字符串类型存储double值)
-     */
-    private String feePercent;
-
-    /**
-     * 特别约定条款
-     */
-    private String assumpsit;
-
-    /**
-     * 车辆种类代码
-     */
-    private String carKindCode;
-
-    /**
-     * 使用性质代码
-     */
-    private String useNatureCode;
-
-    /**
-     * 投保份数
-     */
-    private Integer insuredAmount;
-
-    /**
-     * 产品类型
-     */
-    private String type;
-
-    /**
-     * 保障责任列表
-     */
-    private List<Coverage> coverages;
-
-
-    @Getter
-    @Setter
-    public static class Coverage extends UnknownFieldEntity {
-        /**
-         * 责任ID
-         */
-        private String id;
-
-        /**
-         * 创建时间
-         */
-        private String createTime;
-
-        /**
-         * 责任代码
-         */
-        private String liabilityCode;
-
-        /**
-         * 责任保额(字符串类型存储double值)
-         */
-        private String amount;
-
-        /**
-         * 责任保费(字符串类型存储double值)
-         */
-        private String premium;
-
-        /**
-         * 责任总保费(字符串类型存储double值)
-         */
-        private String totalPremium;
-
-        /**
-         * 责任名称
-         */
-        private String name;
-
-        /**
-         * 关联产品ID
-         */
-        private String productId;
-
-        /**
-         * 责任代码
-         */
-        private String productCode;
-    }
-}

+ 0 - 47
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiAdjust.java

@@ -1,47 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-import java.math.BigDecimal;
-
-@Setter
-@Getter
-public class ChengTaiAdjust extends UnknownFieldEntity {
-    private String id;
-    /**
-     * 调整系数代码
-     */
-    @JsonProperty("adjustCode")
-    private String adjustCode;
-
-    /**
-     * 调整系数名称
-     */
-    @JsonProperty("adjustName")
-    private String adjustName;
-
-    /**
-     * 调整系数值
-     */
-    @JsonProperty("adjustRate")
-    private BigDecimal adjustRate;
-
-    /**
-     * 最大调整系数
-     */
-    @JsonProperty("maxRate")
-    private BigDecimal maxRate;
-
-    /**
-     * 最小调整系数
-     */
-    @JsonProperty("minRate")
-    private BigDecimal minRate;
-
-    private String createTime;
-
-    private String policyId;
-}

+ 0 - 175
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiApplicant.java

@@ -1,175 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import lombok.Getter;
-import lombok.Setter;
-
-@Setter
-@Getter
-public class ChengTaiApplicant extends ChengTaiCustomer {
-    /**
-     * 类型
-     *
-     * 1:个人
-     * 2:团体
-     */
-    private String type;
-    /**
-     * 角色标识
-     */
-    private String role;
-    /**
-     * 涉恐标识
-     */
-    private String isTerror;
-    /**
-     * 客户ID
-     */
-    private String customerId;
-
-    /**
-     * 完整地址
-     */
-    private String completeAddress;
-    /**
-     * 手机号码
-     */
-    private String mobile;
-    /**
-     * 特殊客户标识
-     */
-    private String specialClient;
-    /**
-     * 操作标识
-     */
-    private String operateFlag;
-    /**
-     * 记录ID
-     */
-    private String id;
-    /**
-     * 国籍
-     *
-     * 01-居民身份证
-     *    CN-中国
-     *
-     * 02-护照
-     *    CN-中国
-     *    CO-哥伦比亚
-     *    CU-古巴
-     *    ...
-     *
-     * 03-军人身份证件
-     *    CN-中国
-     *
-     * 08-港澳居民来往内地通行证
-     *    HK-香港(中国特别行政区)
-     *    MO-澳门(中国特别行政区)
-     *
-     * 09-台湾居民来往大陆通行证
-     *    TW-台湾(中国的省 )
-     *
-     * 10-武警身份证件
-     *    CN-中国
-     *
-     * 11-外国人永久居留身份证
-     *    AD-安道尔
-     *
-     * 44-港澳台居民居住证
-     *    TW-台湾(中国的省 )
-     *    MO-澳门(中国特别行政区)
-     *    HK-香港(中国特别行政区)
-     */
-    private String terrorNationality;
-    /**
-     * 国籍名称
-     */
-    private String terrorNationalityName;
-    /**
-     * 政治面貌标识
-     */
-    private String isPolitics;
-    /**
-     * 个人字段
-     *
-     * 个体工商户标识
-     *
-     * 0:不是
-     * 1:是
-     */
-    private String individualBusinessInd;
-    /**
-     * 团体字段
-     *
-     * 是否小微企业
-     *
-     * 0:不是
-     * 1:是
-     */
-    private String microBusinessesInd;
-    /**
-     * 原签名人标识
-     */
-    private String signedbyOrig;
-    /**
-     * 订单ID
-     */
-    private String orderId;
-    /**
-     * 公司代码
-     */
-    private String comCode;
-    /**
-     * 团体字段
-     *
-     * 当 individualBusinessInd 为 1时,才设置此字段值。
-     */
-    private String occupationCode;
-    /**
-     * 团体字段
-     */
-    private String occupationName;
-    /**
-     * 团体字段
-     *
-     * 单位性质编码
-     *
-     */
-    private String unitTypeCode;
-    /**
-     * 团体字段
-     *
-     * 单位性质名称
-     */
-    private String unitTypeName;
-
-    /**
-     * 团体字段
-     *
-     * 邮箱
-     */
-    private String email;
-
-    /**
-     * 团体字段
-     *
-     * 联系人
-     */
-    private String linkerName;
-
-    /**
-     * 团体字段
-     *
-     * 联系电话
-     */
-    private String tel;
-
-    /**
-     * 团体字段
-     *
-     * 证件号码,与 identifyNumber 一样
-     */
-    private String organizationCode;
-
-    private String createTime;
-
-}

+ 0 - 52
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiAuthority.java

@@ -1,52 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-@Setter
-@Getter
-public class ChengTaiAuthority extends UnknownFieldEntity {
-    /**
-     * 权限等级
-     */
-    @JsonProperty("authorityLevel")
-    private String authorityLevel;
-
-    /**
-     * 数据类型
-     */
-    @JsonProperty("dataType")
-    private String dataType;
-
-    /**
-     * 原因描述
-     */
-    @JsonProperty("reasondescription")
-    private String reasondescription;
-
-    /**
-     * 规则集名称
-     */
-    @JsonProperty("ruleSetName")
-    private String ruleSetName;
-
-    /**
-     * 险种代码
-     */
-    @JsonProperty("riskCode")
-    private String riskCode;
-
-    /**
-     * UUID
-     */
-    @JsonProperty("uuid")
-    private String uuid;
-
-    /**
-     * 最终规则结果
-     */
-    @JsonProperty("finalRuleResult")
-    private String finalRuleResult;
-}

+ 0 - 69
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiBiContract.java

@@ -1,69 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-import java.util.List;
-
-@Setter
-@Getter
-public class ChengTaiBiContract extends UnknownFieldEntity {
-
-    /**
-     * 主合同信息
-     */
-    @JsonProperty("contractMain")
-    private ChengTaiContractMain contractMain;
-
-    /**
-     * 险种列表
-     */
-    @JsonProperty("coverage")
-    private List<ChengTaiCoverage> coverage;
-
-    /**
-     * 平台消息
-     */
-    @JsonProperty("platFormMessage")
-    private ChengTaiPlatFormMessage platFormMessage;
-
-    /**
-     * 折扣信息
-     */
-    @JsonProperty("discountInfo")
-    private ChengTaiDiscountInfo discountInfo;
-
-    /**
-     * 调整系数列表
-     */
-    @JsonProperty("adjust")
-    private List<ChengTaiAdjust> adjust;
-
-    /**
-     * 再保项信息
-     */
-    @JsonProperty("reInsureItem")
-    private ChengTaiReInsureItem reInsureItem;
-
-
-    private List<ChengTaiEngage> engage;
-
-    private String proposalNo;
-
-    private String othBusinessNo;
-
-    private String uuid;
-
-    @Override
-    protected void addChildUnknownFields() {
-        addChildUnknownField("contractMain", contractMain);
-        addChildUnknownField("coverage", coverage);
-        addChildUnknownField("platFormMessage", platFormMessage);
-        addChildUnknownField("discountInfo", discountInfo);
-        addChildUnknownField("adjust", adjust);
-        addChildUnknownField("reInsureItem", reInsureItem);
-    }
-}
-

+ 0 - 168
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiBusinessMain.java

@@ -1,168 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-import java.util.List;
-
-@Setter
-@Getter
-public class ChengTaiBusinessMain extends UnknownFieldEntity {
-
-    /**
-     * 业务唯一标识
-     *
-     * 支付连接中会用到
-     */
-    private String uuid;
-    /**
-     * 操作代码
-     */
-    private String operatorCode;
-    /**
-     * 操作名称
-     */
-    private String operatorName;
-    /**
-     * 操作日期
-     */
-    private String operateDate;
-
-    /**
-     * 不通过的原因
-     */
-    private String operateText;
-
-    private String operateTime;
-
-    private String operateUserName;
-
-    /**
-     * 签发日期
-     */
-    private String issueDate;
-    /**
-     * 录入日期
-     */
-    private String inputDate;
-    /**
-     * 语言类型
-     */
-    private String language;
-    /**
-     * 资金可疑标识
-     */
-    private String moneySuspiciousInd;
-    /**
-     * COD标识
-     */
-    private String codInd;
-    /**
-     * 争议解决方式
-     */
-    private String argueSolution;
-    /**
-     * 仲裁机构
-     */
-    private String argueSolutionCom;
-    /**
-     * 关联贸易类型
-     */
-    private String relateTradeType;
-    /**
-     * 出单公司代码
-     */
-    private String issueCompany;
-    /**
-     * 出单公司名称
-     */
-    private String issueCompanyName;
-    /**
-     * 资源类型
-     */
-    private String resourceType;
-    /**
-     * 业务类型
-     *
-     * PROPOSAL
-     * ENDORSEAPPLICATION
-     * POLICY
-     */
-    private String businessType;
-    /**
-     * 短信验证标识
-     */
-    private String smsCheckFlag;
-    /**
-     * 涉恐标识
-     */
-    private String isTerror;
-    /**
-     * 业务ID
-     */
-    private String id;
-    /**
-     * 方案代码
-     */
-    private String planCode;
-    /**
-     * 短信验证码标识
-     */
-    private String smsCodeFlag;
-    /**
-     * 登记方式
-     */
-    private String registerWay;
-    /**
-     * 缴费标识
-     */
-    private String paymentmark;
-    /**
-     * 车型代码
-     */
-    private String carmodel;
-    /**
-     * 是否车辆改革
-     */
-    private String isCarReform;
-    /**
-     * 现金业务标识
-     */
-    private String cashBusiness;
-    /**
-     * 车辆登记标识
-     */
-    private String carRegistFlag;
-    /**
-     * BI配置自动标识
-     */
-    private String biConfigAutoFlag;
-    /**
-     * 组合ID
-     */
-    private String comboId;
-    /**
-     * 黑名单ID
-     */
-    private String blackId;
-    /**
-     * 规则列表
-     */
-    private List<ChengTaiRule> rulesList;
-
-    private String biChanged;
-
-    private String ciChanged;
-
-    private String publicChanged;
-
-    private String createTime;
-
-    private String isCreateEInsurance;
-
-    @Override
-    protected void addChildUnknownFields() {
-        addChildUnknownField("rulesList", rulesList);
-    }
-}

+ 0 - 186
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiCarFullData.java

@@ -1,186 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-@Setter
-@Getter
-public class ChengTaiCarFullData extends UnknownFieldEntity {
-
-    /**
-     * 模型代码
-     */
-    private String modelCode;
-
-    /**
-     * 车辆代码
-     */
-    private String vehicleCode;
-
-    /**
-     * 模型名称
-     */
-    private String modelName;
-
-    /**
-     * 工厂名称
-     */
-    private String factory;
-
-    /**
-     * 品牌
-     */
-    private String brand;
-
-    /**
-     * 品牌代码
-     */
-    private String brandCode;
-
-    /**
-     * 系列
-     */
-    private String series;
-
-    /**
-     * 系列代码
-     */
-    private String seriesCode;
-
-    /**
-     * 系列类型
-     */
-    private String seriesType;
-
-    /**
-     * 系列名称
-     */
-    private String seriesName;
-
-    /**
-     * 车辆种类
-     */
-    private String carKind;
-
-    /**
-     * 保险车辆分类
-     */
-    private String insCarClass;
-
-    /**
-     * 保险车辆分类名称
-     */
-    private String insCarClassName;
-
-    /**
-     * 简称
-     */
-    private String shortHandCode;
-
-    /**
-     * 出厂年份
-     */
-    private String carYear;
-
-    /**
-     * 购车价格(不含税)
-     */
-    private String purchasePrice;
-
-    /**
-     * 购车价格(含税)
-     */
-    private String purchasePriceTax;
-
-    /**
-     * 变速器类型
-     */
-    private String transmissionType;
-
-    /**
-     * 总质量最大值
-     */
-    private String qualityMax;
-
-    /**
-     * 总质量最小值
-     */
-    private String qualityMin;
-
-    /**
-     * 核定载人数
-     */
-    private String approvedPassengersCapacity;
-
-    /**
-     * 排量
-     */
-    private String displacement;
-
-    /**
-     * 功率
-     */
-    private String power;
-
-    /**
-     * 整备质量
-     */
-    private String unladenMass;
-
-    /**
-     * 能源类型
-     */
-    private String energyTypes;
-
-    /**
-     * 车牌号
-     */
-    private String licenseNo;
-
-    /**
-     * 车架号
-     */
-    private String frameNo;
-
-    /**
-     * 发动机号
-     */
-    private String engineNo;
-
-    /**
-     * 车主
-     */
-    private String carOwer;
-
-    /**
-     * 工厂代码
-     */
-    private String factoryCode;
-
-    /**
-     * 核定载人数编码
-     */
-    private String hfCode;
-
-    /**
-     * 核定载人数名称
-     */
-    private String hfName;
-
-    /**
-     * 动力类型
-     */
-    private String powerType;
-
-    /**
-     * 车辆型号
-     */
-    private String vehicleModel;
-
-    /**
-     * 车辆名称
-     */
-    private String vehicleName;
-
-}

+ 0 - 44
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiCarKind.java

@@ -1,44 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-@Setter
-@Getter
-public class ChengTaiCarKind extends UnknownFieldEntity {
-    /**
-     * ID
-     */
-    private String id;
-
-    /**
-     * 类型
-     */
-    private String type;
-
-    /**
-     * 项目名称
-     */
-    private String itemName;
-
-    /**
-     * 项目值
-     */
-    private String itemValue;
-
-    /**
-     * 描述
-     */
-    private String description;
-
-    /**
-     * 创建时间
-     */
-    private String createTime;
-
-    /**
-     * 扩展数据
-     */
-    private String extdata;
-}

+ 0 - 186
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiCarModel.java

@@ -1,186 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-@Setter
-@Getter
-public class ChengTaiCarModel extends UnknownFieldEntity {
-
-    /**
-     * 模型代码
-     */
-    private String modelcode;
-
-    /**
-     * 模型中文名称
-     */
-    private String modelcname;
-
-    /**
-     * 车辆类别
-     */
-    private String vehicleclass;
-
-    /**
-     * 车辆类型
-     */
-    private String vehicleType;
-
-    /**
-     * 工厂名称
-     */
-    private String factory;
-
-    /**
-     * 工厂ID
-     */
-    private String factoryid;
-
-    /**
-     * 汽车品牌
-     */
-    private String carbrand;
-
-    /**
-     * 品牌ID
-     */
-    private String brandid;
-
-    /**
-     * 系列名称
-     */
-    private String familyname;
-
-    /**
-     * 系列代码
-     */
-    private String familycode;
-
-    /**
-     * 购车价格
-     */
-    private String purchaseprice;
-
-    /**
-     * 类似车型价格
-     */
-    private String analogymodelprice;
-
-    /**
-     * 不含税购车价格
-     */
-    private String purchasepricenottax;
-
-    /**
-     * 不含税类似车型价格
-     */
-    private String analogymodelpricenottax;
-
-    /**
-     * 车型
-     */
-    private String carstyle;
-
-    /**
-     * 使用性质分类ID
-     */
-    private String syxclassid;
-
-    /**
-     * 使用性质分类名称
-     */
-    private String syxclassname;
-
-    /**
-     * 交强险分类ID
-     */
-    private String jqxclassid;
-
-    /**
-     * 车辆模型分类
-     */
-    private String cimodelclass;
-
-    /**
-     * 简称
-     */
-    private String shorthandcode;
-
-    /**
-     * 排量
-     */
-    private String exhaustscale;
-
-    /**
-     * 座位数
-     */
-    private String seatcount;
-
-    /**
-     * 出厂年份
-     */
-    private String caryear;
-
-    /**
-     * 变速器类型
-     */
-    private String transmissionttype;
-
-    /**
-     * 备注
-     */
-    private String remark;
-
-    /**
-     * 车辆质量最小值
-     */
-    private String vehiclequalitymin;
-
-    /**
-     * 有效标识
-     */
-    private String validind;
-
-    /**
-     * 功率
-     */
-    private String power;
-
-    /**
-     * 车辆型号
-     */
-    private String vehiclemodel;
-
-    /**
-     * 动力类型
-     */
-    private String powertype;
-
-    /**
-     * 核定载人数新
-     */
-    private String hfnamenew;
-
-    /**
-     * 核定载人数编码新
-     */
-    private String hfcodenew;
-
-    /**
-     * 总质量最大值
-     */
-    private String fullweightmax;
-
-    /**
-     * 总质量最小值
-     */
-    private String fullweightmin;
-
-    /**
-     * 更新版本
-     */
-    private String updateVersion;
-
-}

+ 0 - 24
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiCarPlatformBean.java

@@ -1,24 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-@Setter
-@Getter
-public class ChengTaiCarPlatformBean extends UnknownFieldEntity {
-    /**
-     * 模型代码HX
-     */
-    private String modelCodeHX;
-
-    /**
-     * 车辆名称
-     */
-    private String carName;
-
-    /**
-     * 通知类型
-     */
-    private String noticeType;
-}

+ 0 - 123
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiCiContract.java

@@ -1,123 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-import java.math.BigDecimal;
-import java.util.List;
-
-@Setter
-@Getter
-public class ChengTaiCiContract extends UnknownFieldEntity {
-    /**
-     * 主合同信息
-     */
-    private ChengTaiContractMain contractMain;
-
-    /**
-     * 险种列表
-     */
-    private List<ChengTaiCoverage> coverage;
-
-    /**
-     * 税务信息
-     */
-    private ChengTaiTax tax;
-
-    @Setter
-    @Getter
-    public static class ContractMain extends UnknownFieldEntity {
-        /**
-         * 订单ID
-         */
-        private String orderId;
-        /**
-         * 险种代码
-         */
-        private String riskCode;
-        /**
-         * 险种名称
-         */
-        private String riskName;
-        /**
-         * 即时生效标志
-         */
-        private String validAtOnce;
-        /**
-         * 生效日期
-         */
-        private String validDate;
-        /**
-         * 终止日期
-         */
-        private String expiryDate;
-        /**
-         * 续保标志
-         */
-        private String renewalFlag;
-        /**
-         * 货币类型
-         */
-        private String currency;
-        /**
-         * 承保标识
-         */
-        private String underWriteInd;
-    }
-
-    @Setter
-    @Getter
-    public static class Coverage extends UnknownFieldEntity {
-        /**
-         * 费率
-         */
-        private BigDecimal rate;
-        /**
-         * 保额
-         */
-        private BigDecimal amount;
-        /**
-         * 计算标志
-         */
-        private String calculateFlag;
-        /**
-         * 货币类型
-         */
-        private String currency;
-        /**
-         * 生效日期
-         */
-        private String validDate;
-        /**
-         * 终止日期
-         */
-        private String expiryDate;
-        /**
-         * 主险标志
-         */
-        private String ifMainKind;
-        /**
-         * 险种代码
-         */
-        private String kindCode;
-        /**
-         * 险种名称
-         */
-        private String kindName;
-        /**
-         * 短期费率
-         */
-        private BigDecimal shortRate;
-        /**
-         * 短期费率类型
-         */
-        private String shortRateType;
-        /**
-         * 保单ID
-         */
-        private String policyId;
-    }
-
-
-}

+ 0 - 12
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiCombo.java

@@ -1,12 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-@Setter
-@Getter
-public class ChengTaiCombo extends UnknownFieldEntity {
-    /** 状态标识 */
-    private String state;
-}

+ 0 - 171
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiContractMain.java

@@ -1,171 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-import java.math.BigDecimal;
-
-@Setter
-@Getter
-public class ChengTaiContractMain extends UnknownFieldEntity {
-
-    private String id;
-
-    private String orderId;
-
-    /**
-     * 险种代码
-     */
-    @JsonProperty("riskCode")
-    private String riskCode;
-
-    /**
-     * 险种名称
-     */
-    @JsonProperty("riskName")
-    private String riskName;
-
-    /**
-     * 即时生效标志
-     */
-    @JsonProperty("validAtOnce")
-    private String validAtOnce;
-
-    /**
-     * 生效日期
-     */
-    @JsonProperty("validDate")
-    private String validDate;
-
-    /**
-     * 终止日期
-     */
-    @JsonProperty("expiryDate")
-    private String expiryDate;
-
-    /**
-     * 续保标志
-     */
-    @JsonProperty("renewalFlag")
-    private String renewalFlag;
-
-    /**
-     * 货币类型
-     */
-    @JsonProperty("currency")
-    private String currency;
-
-    /**
-     * 保险金额总和
-     */
-    @JsonProperty("sumAmount")
-    private BigDecimal sumAmount;
-
-    /**
-     * 总保费
-     */
-    @JsonProperty("totalPremium")
-    private BigDecimal totalPremium;
-
-    /**
-     * 不含税保费
-     */
-    @JsonProperty("noTaxPremium")
-    private BigDecimal noTaxPremium;
-
-    /**
-     * 标准保费总和
-     */
-    @JsonProperty("totalStandardPremium")
-    private BigDecimal totalStandardPremium;
-
-    /**
-     * 风险保费总和
-     */
-    @JsonProperty("totalRiskPremium")
-    private BigDecimal totalRiskPremium;
-
-    /**
-     * 增值税
-     */
-    @JsonProperty("vat")
-    private BigDecimal vat;
-
-    /**
-     * 折扣系数
-     */
-    @JsonProperty("discount")
-    private BigDecimal discount;
-
-    /**
-     * 期望折扣系数
-     */
-    @JsonProperty("hopeDiscount")
-    private BigDecimal hopeDiscount;
-
-    /**
-     * 查询序列号
-     */
-    @JsonProperty("querySequenceNo")
-    private String querySequenceNo;
-
-    /**
-     * 查询序列过期日期
-     */
-    @JsonProperty("querySeqExpireDate")
-    private String querySeqExpireDate;
-
-    /**
-     * 期望系数
-     */
-    @JsonProperty("hopeCoefficient")
-    private BigDecimal hopeCoefficient;
-
-    /**
-     * 是否重复投保检查
-     */
-    @JsonProperty("isCheckRepeated")
-    private String isCheckRepeated;
-
-    /**
-     * 状态
-     *
-     * z1:暂存
-     * z2:下发修改
-     * z3:主动撤回
-     * 1:已提交
-     * 2:核保中
-     * 4:已核保待付款
-     * 5:缴费处理中
-     * 6:已登记未付款
-     * 7:已付款未生成保单
-     * 8:已生成保单
-     * g1:生成保单失败
-     * 10:涉恐冻结
-     * 11:涉恐待审核
-     * r1:退费中
-     * r2:退费失败
-     * r3:退费成功
-     */
-    private String underWriteInd;
-
-    private String proposalNo;
-
-    private String othBusinessNo;
-
-    private String uuid;
-
-    private String policyNo;
-    private String policyUuid;
-
-    private String createTime;
-
-    /**
-     * 1:已签名
-     * 2:未签名
-     */
-    private String signStatus;
-}

+ 0 - 129
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiCoverage.java

@@ -1,129 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-@Setter
-@Getter
-public class ChengTaiCoverage extends UnknownFieldEntity {
-    private String id;
-    /**
-     * 保险金额
-     */
-    private String amount;
-    /**
-     * 基础保费
-     */
-    private String basePremium;
-    /**
-     * 险种保费
-     */
-    private String coveragePremium;
-    /**
-     * 计算标识
-     */
-    private String calculateFlag;
-    /**
-     * 是否主险
-     */
-    private String ifMainKind;
-    /**
-     * 险种代码
-     */
-    private String kindCode;
-    /**
-     * 险种标识
-     */
-    private Boolean kindFlag;
-    /**
-     * 险种名称
-     */
-    private String kindName;
-    /**
-     * 不计免赔计算标识
-     */
-    private String notDeductibleCalculateFlag;
-    /**
-     * 不计免赔主险标识
-     */
-    private String notDeductibleIfMainKind;
-    /**
-     * 不计免赔险种标识
-     */
-    private Boolean notDeductibleKindFlag;
-    /**
-     * 关联标识
-     */
-    private String relatedInd;
-    /**
-     * 生效日期
-     */
-    private String validDate;
-    /**
-     * 终止日期
-     */
-    private String expiryDate;
-    /**
-     * 货币类型
-     */
-    private String currency;
-    /**
-     * 标准保费
-     */
-    private String coverageStandardPremium;
-    /**
-     * 不含税保费
-     */
-    private String coveragePremiumNoTax;
-    /**
-     * 税额
-     */
-    private String coverageTax;
-    /**
-     * 费率
-     */
-    private String rate;
-    /**
-     * 短期费率类型
-     */
-    private String shortRateType;
-    /**
-     *
-     */
-    private String deductible;
-    /**
-     * 免赔率
-     */
-    private String deductibleRate;
-    /**
-     * 折扣率
-     */
-    private String discount;
-    /**
-     * 成本保费
-     */
-    private String costPrem;
-    /**
-     * 风险保费
-     */
-    private String coverageRiskPremium;
-    /**
-     * 是否展示
-     */
-    private Boolean show;
-    /**
-     * 单位保额
-     */
-    private String unitAmount;
-    /**
-     * 数量
-     */
-    private String quantity;
-
-    private String shortRate;
-
-    private String policyId;
-
-    private String createTime;
-}

+ 0 - 104
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiCustomer.java

@@ -1,104 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-@Setter
-@Getter
-public class ChengTaiCustomer extends UnknownFieldEntity {
-
-    /**
-     * 姓名
-     */
-    private String name;
-
-    /**
-     * 身份证号码
-     */
-    private String identifyNumber;
-
-    /**
-     * 省份代码
-     */
-    private String province;
-
-    /**
-     * 省份名称
-     */
-    private String provinceName;
-
-    /**
-     * 城市代码
-     */
-    private String city;
-
-    /**
-     * 城市名称
-     */
-    private String cityName;
-
-    /**
-     * 区县代码
-     */
-    private String district;
-
-    /**
-     * 区县名称
-     */
-    private String districtName;
-
-    /**
-     * 详细地址
-     */
-    private String addr;
-
-    /**
-     * 性别(例如:1表示男,2表示女)
-     */
-    private String sex;
-
-    /**
-     * 出生日期
-     */
-    private String birthday;
-
-    /**
-     * 证件类型代码
-     *
-     * 01-居民身份证
-     * 02-护照
-     * 03-军人身份证件
-     * 08-港澳居民来往内地通行证
-     * 09-台湾居民来往大陆通行证
-     * 10-武警身份证件
-     * 11-外国人永久居留身份证
-     * 44-港澳台居民居住证
-     *
-     * 1-组织机构代码
-     * 2-税务登记证
-     * 3-营业执照
-     * 4-统一社会信用代码
-     */
-    private String identifyTypeCode;
-    /**
-     * 证件类型名称
-     */
-    private String identifyTypeName;
-
-    /**
-     * 身份证有效期开始日期
-     */
-    private String identifyValidDate;
-
-    /**
-     * 身份证有效期结束日期
-     */
-    private String identifyValidEndDate;
-
-    /**
-     * 是否长期有效(例如:0表示否,1表示是)
-     */
-    private String longTerm;
-
-}

+ 0 - 74
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiDictionary.java

@@ -1,74 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-@Setter
-@Getter
-public class ChengTaiDictionary extends UnknownFieldEntity {
-
-    /**
-     * 租户ID
-     */
-    @JsonProperty("tenant_id")
-    private String tenantId;
-
-    /**
-     * 创建时间
-     */
-    @JsonProperty("create_time")
-    private String createTime;
-
-    /**
-     * 父级ID
-     */
-    @JsonProperty("parent_id")
-    private String parentId;
-
-    /**
-     * 描述
-     */
-    private String description;
-
-    /**
-     * 是否可删除
-     */
-    @JsonProperty("is_deletable")
-    private String isDeletable;
-
-    /**
-     * 项目名称
-     */
-    @JsonProperty("item_name")
-    private String itemName;
-
-    /**
-     * 是否可编辑
-     */
-    @JsonProperty("is_editable")
-    private String isEditable;
-
-    /**
-     * ID
-     */
-    private String id;
-
-    /**
-     * 类型
-     */
-    private String type;
-
-    /**
-     * 项目值
-     */
-    @JsonProperty("item_value")
-    private String itemValue;
-
-    /**
-     * 排序ID
-     */
-    @JsonProperty("sort_id")
-    private String sortId;
-}

+ 0 - 229
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiDiscountInfo.java

@@ -1,229 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-import java.math.BigDecimal;
-import java.util.List;
-
-@Setter
-@Getter
-public class ChengTaiDiscountInfo extends UnknownFieldEntity {
-    private String id;
-
-    private String policyId;
-
-    /**
-     * 交强险成本保费
-     */
-    @JsonProperty("ctpCostPrem")
-    private BigDecimal ctpCostPrem;
-
-    /**
-     * 整体费用折扣
-     */
-    @JsonProperty("entireExpDiscount")
-    private BigDecimal entireExpDiscount;
-
-    /**
-     * 整体推荐折扣
-     */
-    @JsonProperty("entireRecommenDiscount")
-    private BigDecimal entireRecommenDiscount;
-
-    /**
-     * 整体核保折扣
-     */
-    @JsonProperty("entireUwritingDiscount")
-    private BigDecimal entireUwritingDiscount;
-
-    /**
-     * 账单交强险费用率
-     */
-    @JsonProperty("billCtpElr")
-    private BigDecimal billCtpElr;
-
-    /**
-     * 账单商业险费用率
-     */
-    @JsonProperty("billComElr")
-    private BigDecimal billComElr;
-
-    /**
-     * 账单总费用率
-     */
-    @JsonProperty("billElr")
-    private BigDecimal billElr;
-
-    /**
-     * 佣金标志
-     */
-    @JsonProperty("commissionFlag")
-    private String commissionFlag;
-
-    /**
-     * 固定核保折扣
-     */
-    @JsonProperty("uwDiscFixed")
-    private String uwDiscFixed;
-
-    /**
-     * 核保折扣上限
-     */
-    @JsonProperty("uwDiscLimit")
-    private String uwDiscLimit;
-
-    /**
-     * 核保折扣下限
-     */
-    @JsonProperty("uwDiscFloor")
-    private String uwDiscFloor;
-
-    /**
-     * 交强险成本保费标志
-     */
-    @JsonProperty("ctpCostPremFlag")
-    private String ctpCostPremFlag;
-
-    /**
-     * 原始整体初始折扣
-     */
-    @JsonProperty("entireRawInitialDiscount")
-    private BigDecimal entireRawInitialDiscount;
-
-    /**
-     * 整体初始折扣
-     */
-    @JsonProperty("entireInitialDiscount")
-    private BigDecimal entireInitialDiscount;
-
-    /**
-     * 整体浮动折扣
-     */
-    @JsonProperty("entireFloatDiscount")
-    private String entireFloatDiscount;
-
-    /**
-     * 商业险佣金
-     */
-    @JsonProperty("billComCommission")
-    private String billComCommission;
-
-    /**
-     * 商业险费用率
-     */
-    @JsonProperty("billComcor")
-    private BigDecimal billComcor;
-
-    /**
-     * 交强险费用率
-     */
-    @JsonProperty("billCtpcor")
-    private String billCtpcor;
-
-    /**
-     * 总费用率
-     */
-    @JsonProperty("billCor")
-    private BigDecimal billCor;
-
-    /**
-     * NCD基础费率
-     */
-    @JsonProperty("ncdBpremElr")
-    private String ncdBpremElr;
-
-    /**
-     * 阳光评分
-     */
-    @JsonProperty("sunlightScore")
-    private String sunlightScore;
-
-    /**
-     * 例外标志
-     */
-    @JsonProperty("exceptionFlag")
-    private String exceptionFlag;
-
-    /**
-     * 初始交强险费用率
-     */
-    @JsonProperty("initialCtpElr")
-    private BigDecimal initialCtpElr;
-
-    /**
-     * 初始商业险费用率
-     */
-    @JsonProperty("initialComElr")
-    private BigDecimal initialComElr;
-
-    /**
-     * 初始总费用率
-     */
-    @JsonProperty("initialElr")
-    private BigDecimal initialElr;
-
-    /**
-     * 影响因素列表
-     */
-    @JsonProperty("effectInfoDTOList")
-    private List<ChengTaiEffectInfoDTO> effectInfoDTOList;
-
-    /**
-     * 推荐折扣1
-     */
-    @JsonProperty("entireRecommenDiscount1")
-    private BigDecimal entireRecommenDiscount1;
-
-    /**
-     * 推荐折扣2
-     */
-    @JsonProperty("entireRecommenDiscount2")
-    private BigDecimal entireRecommenDiscount2;
-
-    /**
-     * 分配折扣
-     */
-    @JsonProperty("distributionDiscount")
-    private BigDecimal distributionDiscount;
-
-    /**
-     * 分配折扣2
-     */
-    @JsonProperty("distributionDiscount2")
-    private BigDecimal distributionDiscount2;
-
-    /**
-     * 原始推荐费用率
-     */
-    @JsonProperty("rawRecommenElr")
-    private BigDecimal rawRecommenElr;
-
-    /**
-     * 原始推荐费用率1
-     */
-    @JsonProperty("rawRecommenElr1")
-    private BigDecimal rawRecommenElr1;
-
-    /**
-     * 原始分配费用率
-     */
-    @JsonProperty("rawDistributionElr")
-    private BigDecimal rawDistributionElr;
-
-    /**
-     * 原始分配费用率1
-     */
-    @JsonProperty("rawDistributionElr1")
-    private BigDecimal rawDistributionElr1;
-
-    private String createTime;
-
-
-    @Override
-    protected void addChildUnknownFields() {
-        addChildUnknownField("effectInfoDTOList", effectInfoDTOList);
-    }
-}

+ 0 - 43
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiEffectInfoDTO.java

@@ -1,43 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-import java.math.BigDecimal;
-
-@Setter
-@Getter
-public class ChengTaiEffectInfoDTO extends UnknownFieldEntity {
-    private String id;
-
-    private String policyId;
-
-    /**
-     * 影响因素名称
-     */
-    @JsonProperty("effectName")
-    private String effectName;
-
-    /**
-     * 影响因素值
-     */
-    @JsonProperty("effectValue")
-    private BigDecimal effectValue;
-
-    /**
-     * 影响因素详情
-     */
-    @JsonProperty("effectinfo")
-    private String effectinfo;
-
-    /**
-     * 影响因素代码
-     */
-    @JsonProperty("effectCode")
-    private String effectCode;
-
-    private String createTime;
-
-}

+ 0 - 38
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiEngage.java

@@ -1,38 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-@Setter
-@Getter
-public class ChengTaiEngage extends UnknownFieldEntity {
-    /**
-     * 特约代码
-     */
-    private String engageCode;
-    /**
-     * 特约标题
-     */
-    private String engageTitle;
-    /**
-     * 特约详情
-     */
-    private String engageDetail;
-    /**
-     * 修改标识
-     */
-    private String modifyind;
-    /**
-     * 选择类型
-     */
-    private String chooseType;
-    /**
-     * 删除标识
-     */
-    private String deleteInd;
-    /**
-     * 序号
-     */
-    private Integer serialNo;
-}

+ 0 - 18
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiFlag.java

@@ -1,18 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-@Setter
-@Getter
-public class ChengTaiFlag extends UnknownFieldEntity {
-    /**
-     * 是否复制标识
-     */
-    private Boolean isCopy;
-    /**
-     * 是否续保标识
-     */
-    private Boolean isRenewalFlag;
-}

+ 0 - 29
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiIlogRuleResult.java

@@ -1,29 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-import java.util.List;
-
-@Setter
-@Getter
-public class ChengTaiIlogRuleResult extends UnknownFieldEntity {
-    /**
-     * 核保目录
-     */
-    @JsonProperty("underwriteDirectory")
-    private String underwriteDirectory;
-
-    /**
-     * 权限列表
-     */
-    @JsonProperty("authorityList")
-    private List<ChengTaiAuthority> authorityList;
-
-    @Override
-    protected void addChildUnknownFields() {
-        addChildUnknownField("authorityList", authorityList);
-    }
-}

+ 0 - 106
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiInsuranceItem.java

@@ -1,106 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-import java.math.BigDecimal;
-
-@Setter
-@Getter
-public class ChengTaiInsuranceItem extends UnknownFieldEntity {
-    /**
-     * 保险金额
-     */
-    private BigDecimal amount;
-
-    /**
-     * 基础保费
-     */
-    private String basePremium;
-
-    /**
-     * 承保保费
-     */
-    private String coveragePremium;
-
-    /**
-     * 计算标志
-     */
-    private String calculateFlag;
-
-    /**
-     * 免赔额
-     */
-    private String deductible;
-
-    /**
-     * 免赔率
-     */
-    private String deductibleRate;
-
-    /**
-     * 是否为主要险种
-     */
-    private String ifMainKind;
-
-    /**
-     * 险种代码
-     */
-    private String kindCode;
-
-    /**
-     * 险种标志
-     */
-    private Boolean kindFlag;
-
-    /**
-     * 险种名称
-     */
-    private String kindName;
-
-    /**
-     * 是否不计免赔计算标志
-     */
-    private String notDeductibleCalculateFlag;
-
-    /**
-     * 是否主要险种不计免赔标志
-     */
-    private String notDeductibleIfMainKind;
-
-    /**
-     * 是否不计免赔险种标志
-     */
-    private Boolean notDeductibleKindFlag;
-
-    /**
-     * 数量(如适用)
-     */
-    private Integer quantity;
-
-    /**
-     * 相关指标
-     */
-    private String relatedInd;
-
-    /**
-     * 单位金额(如适用)
-     */
-    private String unitAmount;
-
-    /**
-     * 业务类型(如适用)
-     */
-    private String business;
-
-    /**
-     * 承保保费范围(如适用)
-     */
-    private String coveragePremiumRange;
-
-    /**
-     * 是否显示(如适用)
-     */
-    private Boolean show;
-}

+ 0 - 37
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiInsured.java

@@ -1,37 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import lombok.Getter;
-import lombok.Setter;
-
-@Setter
-@Getter
-public class ChengTaiInsured extends ChengTaiApplicant {
-    /**
-     * 同类型标识
-     *
-     * 1:被保人与投保人一样
-     */
-    private String sameType;
-    /**
-     * 被保人与投保人关系
-     *
-     * 0:未知
-     * 1:配偶
-     * 2:父母
-     * 3:子女
-     * 4:祖父母
-     * 5:孙子女
-     * 6:其它
-     * 7:本人
-     */
-    private String relationWithInsured;
-    /**
-     * 被保人与车辆关系
-     * 1:拥有
-     * 2:使用
-     * 3:管理
-     */
-    private String relationWithCar;
-
-
-}

+ 0 - 34
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiInsuredObject.java

@@ -1,34 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-@Setter
-@Getter
-public class ChengTaiInsuredObject extends UnknownFieldEntity {
-    /**
-     * 车辆信息
-     */
-    private ChengTaiPolicyCar policyCar;
-    /**
-     * 投保人信息
-     */
-    private ChengTaiApplicant applicant;
-    /**
-     * 被保人信息
-     */
-    private ChengTaiInsured insured;
-    /**
-     * 车主信息
-     */
-    private ChengTaiOwner owner;
-
-    @Override
-    protected void addChildUnknownFields() {
-        addChildUnknownField("policyCar", policyCar);
-        addChildUnknownField("applicant", applicant);
-        addChildUnknownField("insured", insured);
-        addChildUnknownField("owner", owner);
-    }
-}

+ 0 - 51
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiJqxclassidDic.java

@@ -1,51 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-@Setter
-@Getter
-public class ChengTaiJqxclassidDic extends UnknownFieldEntity {
-    /**
-     * ID
-     */
-    private String id;
-
-    /**
-     * 类型
-     */
-    private String type;
-
-    /**
-     * 项目名称
-     */
-    private String itemName;
-
-    /**
-     * 描述
-     */
-    private String description;
-
-    /**
-     * 创建时间
-     */
-    private String createTime;
-
-    /**
-     * 项目值
-     */
-    private String itemValue;
-
-    /**
-     * 扩展数据
-     */
-    private String extdata;
-
-    private ChengTaiJqxclassidDicExtData extData;
-
-    @Override
-    protected void addChildUnknownFields() {
-        addChildUnknownField("extdata", extdata);
-    }
-}

+ 0 - 18
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiJqxclassidDicExtData.java

@@ -1,18 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-@Setter
-@Getter
-public class ChengTaiJqxclassidDicExtData extends UnknownFieldEntity {
-
-    private String carKindCode;
-    private String carKindName;
-    private String vehicleKindCode;
-    private String useNatureCode;
-    private String useNatureName;
-    private String vehicleType;
-    private String vehicleTypeName;
-}

+ 0 - 48
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiOwner.java

@@ -1,48 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import lombok.Getter;
-import lombok.Setter;
-
-@Setter
-@Getter
-public class ChengTaiOwner extends ChengTaiCustomer {
-    /**
-     * 类型
-     */
-    private String type;
-    /**
-     * 角色标识
-     *
-     * 猜测如下:
-     * 1:投保人
-     * 2:被投保人
-     * 3:车主
-     */
-    private String role;
-    /**
-     * 同类型标识
-     *
-     * 当前对象为被投保人时:
-     * 1:被保人同投保人
-     *
-     * 当前对象为车主时:
-     * 1:车主同投保人
-     * 2:车主同被保人
-     */
-    private String sameType;
-    /**
-     * 年龄
-     */
-    private Integer age;
-    /**
-     * 记录ID
-     */
-    private String id;
-    /**
-     * 订单ID
-     */
-    private String orderId;
-
-    private String createTime;
-
-}

+ 0 - 112
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiPlatFormMessage.java

@@ -1,112 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-@Setter
-@Getter
-public class ChengTaiPlatFormMessage extends UnknownFieldEntity {
-    private String id;
-
-    private String policyId;
-
-    /**
-     * 查询序列号
-     */
-    @JsonProperty("querySequenceNo")
-    private String querySequenceNo;
-
-    /**
-     * 查询日期
-     */
-    @JsonProperty("queryDate")
-    private String queryDate;
-
-    /**
-     * 过期日期
-     */
-    @JsonProperty("expireDate")
-    private String expireDate;
-
-    /**
-     * 再保标志
-     */
-    @JsonProperty("reinsuranceFlag")
-    private String reinsuranceFlag;
-
-    /**
-     * 无赔款优待调整
-     */
-    @JsonProperty("nonClaimAdjust")
-    private String nonClaimAdjust;
-
-    /**
-     * 上张保单生效日期
-     */
-    @JsonProperty("lastPolicyEffectiveDate")
-    private String lastPolicyEffectiveDate;
-
-    /**
-     * 上张保单终止日期
-     */
-    @JsonProperty("lastPolicyExpireDate")
-    private String lastPolicyExpireDate;
-
-    /**
-     * CI模型代码
-     */
-    @JsonProperty("ciModelCode")
-    private String ciModelCode;
-
-    /**
-     * CI车辆类型
-     */
-    @JsonProperty("ciCarKind")
-    private String ciCarKind;
-
-    /**
-     * 投保年限
-     */
-    @JsonProperty("insureYears")
-    private String insureYears;
-
-    /**
-     * 出险次数
-     */
-    @JsonProperty("claimTimes")
-    private String claimTimes;
-
-    /**
-     * 赔付调整等级
-     */
-    @JsonProperty("claimAdjustLevel")
-    private String claimAdjustLevel;
-
-    /**
-     * 重复投保信息
-     */
-    @JsonProperty("repeatedMsg")
-    private String repeatedMsg;
-
-    /**
-     * 车型能源类型
-     */
-    @JsonProperty("modelEnergyType")
-    private String modelEnergyType;
-
-    /**
-     * 评分代码
-     */
-    @JsonProperty("scoreCode")
-    private String scoreCode;
-
-    /**
-     * 评分值
-     */
-    @JsonProperty("score")
-    private Integer score;
-
-    private String createTime;
-}

+ 0 - 6
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiPlatformCarBean.java

@@ -1,6 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-
-public class ChengTaiPlatformCarBean extends UnknownFieldEntity {
-}

+ 0 - 424
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiPolicyCar.java

@@ -1,424 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-import java.math.BigDecimal;
-
-@Setter
-@Getter
-public class ChengTaiPolicyCar extends UnknownFieldEntity {
-    /**
-     * 车辆信息类型
-     *
-     * 1:机动车、能源车
-     * 2:单程提车
-     * 3:摩托车拖拉机
-     */
-    private String vhlInfoType;
-    /**
-     * 车牌号
-     */
-    private String plateNo;
-    /**
-     * 车架号VIN码
-     */
-    private String vin;
-    /**
-     * 发动机号
-     */
-    private String engine;
-    /**
-     * 未上牌标识
-     *
-     * 0:已上牌
-     * 1:未上牌
-     */
-    private String noLicenseFlag;
-    /**
-     * 品牌名称
-     */
-    private String brandName;
-    /**
-     * 车型编号
-     *
-     * 从 api/vehicle/core/queryCarInfo 接口查询而来
-     */
-    private String modelCode;
-    /**
-     * 打印品牌名称
-     */
-    private String printBrandName;
-    /**
-     * 初登日期
-     */
-    private String registerDate;
-    /**
-     * 发证日期
-     */
-    private String issueDate;
-    /**
-     * 发票日期
-     */
-    private String invoiceDate;
-    /**
-     * 购置日期
-     */
-    private String enrollDate;
-    /**
-     * 过户标识
-     *
-     * 0:未过户
-     * 1:已过户
-     */
-    private String transferMark;
-    /**
-     * 过户时间
-     */
-    private String transferDate;
-    /**
-     * 车辆种类代码
-     *
-     * A0: 客车
-     * G0: 挂车
-     * H0: 货车
-     * H1: 低速载货汽车
-     * J1: 兼用型拖拉机
-     * J2: 运输型拖拉机
-     * M0: 摩托车
-     * M2: 侧三轮摩托车
-     * TⅠ1: 油罐车
-     */
-    private String carKindCode;
-    /**
-     * 车辆种类名称
-     */
-    private String carKindName;
-    /**
-     * 使用性质代码
-     *
-     * A0: 客车
-     *    8A: 家庭自用
-     *    8B: 非营业企业
-     *    8C: 非营业党政机关,事业团体
-     *    9A: 营业出租租赁
-     *    9B: 营业城市公交
-     *    9C: 营业公路客运
-     *
-     * H0: 货车
-     * H1: 低速载货汽车
-     * G0: 挂车
-     *    8D: 非营业货运
-     *    9D: 营业货运
-     *
-     * J1: 兼用型拖拉机
-     * J2: 运输型拖拉机
-     *    5A: 兼用型
-     *    5B: 运输型
-     *
-     * M0: 摩托车
-     *    4A:营业
-     *    4B:非营业
-     */
-    private String useNatureCode;
-    /**
-     * 使用性质名称
-     */
-    private String useNatureName;
-    /**
-     * 所属性质
-     *
-     * 01: 个人
-     * 02: 机关/团体
-     * 03: 企业
-     */
-    private String attachNature;
-    /**
-     * 所属性质名称
-     */
-    private String attachNatureName;
-    /**
-     * 新车购置价
-     */
-    private String purchasePrice;
-    /**
-     * 原新车购置价
-     */
-    private String orignPurchasePrice;
-    /**
-     * 实际价值
-     */
-    private String actualValue;
-    /**
-     * 协商实际价值
-     */
-    private String consultValue;
-    /**
-     * 号牌种类
-     *
-     * 01: 大型汽车号牌
-     * 02: 小型汽车号牌
-     * 03: 使馆汽车号牌
-     * 04: 领馆汽车号牌
-     * 05: 境外汽车号牌
-     * 06: 外籍汽车号牌
-     * 07: 两、三轮摩托车号牌
-     * 08: 轻便摩托车号牌
-     * 09: 使馆摩托车号牌
-     * 10: 领馆摩托车号牌
-     * 11: 境外摩托车号牌
-     * 12: 外籍摩托车号牌
-     * 13: 农用运输车号牌
-     * 14: 拖拉机号牌
-     * 15: 挂车号牌
-     * 16: 教练车号牌
-     * 17: 教练摩托车号牌
-     * 18: 试验汽车号牌
-     * 20: 临时入境汽车号牌
-     * 21: 临时入境摩托车号牌
-     * 22: 临时行驶车号牌
-     * 23: 警用汽车号牌
-     * 24: 警用摩托车号牌
-     * 31: 武警号牌
-     * 32: 军队号牌
-     * 51: 大型新能源汽车号牌
-     * 52: 小型新能源汽车号牌
-     * 99: 其它号牌
-     */
-    private String plateType;
-    /**
-     * 号牌种类名称
-     */
-    private String plateTypeName;
-    /**
-     * 交管车辆类型
-     *
-     * H12: 重型厢式货车
-     * Z11: 大型非载货专项作业车
-     */
-    private String vehicleType;
-    /**
-     * 交管车辆类型名称
-     */
-    private String vehicleTypeName;
-    /**
-     * 能源类型
-     *
-     * 0: 燃油
-     * 3: 插电式混合动力
-     * 4: 其他混合动力
-     * 9: 其它
-     */
-    private String energyTypes;
-    /**
-     * 车辆验车状态
-     *
-     * 1: 未验车
-     * 2: 已验车
-     * 3: 免验车
-     * 4: 待补资料
-     */
-    private String carCheckStatus;
-    /**
-     * 验车人姓名
-     *
-     * 当为已验车的情况下
-     */
-    private String carCheckerName;
-
-    /**
-     * 验车时间
-     *
-     * 当 carCheckStatus 为已验车的情况下
-     */
-    private String carCheckTime;
-
-    /**
-     * 免验车原因编码
-     *
-     * 当 carCheckStatus 为免验车的情况下
-     *
-     * 0:单保责任险
-     * 1:按期续保未增保损失险类
-     * 2:新车
-     * 3:团单
-     */
-    private String carCheckReason;
-
-    /**
-     * 免验车原因名称
-     */
-    private String carCheckReasonName;
-
-    /**
-     * 核定载客量
-     */
-    private String approvedPassengersCapacity;
-    /**
-     * 核定载质量(KG)
-     */
-    private String approvedLoad;
-    /**
-     * 功率(KW)
-     */
-    private String power;
-    /**
-     * 排量(cc)
-     */
-    private String displacement;
-    /**
-     * 排量单位
-     *  cc、ml
-     */
-    private String exhaustScaleUnit;
-    /**
-     * 按揭车标识
-     *
-     * 0:不是
-     * 1:是
-     */
-    private String loanVehicleFlag;
-    /**
-     * 异地车标识
-     * 0:不是异地车
-     * 1:是异地
-     */
-    private String ecdemicVehicleFlag;
-    /**
-     * 部门代码
-     */
-    private String deptCode;
-    /**
-     * 部门名称
-     */
-    private String deptName;
-    /**
-     * 使用年限
-     */
-    private String useYears;
-    /**
-     * 车系代码
-     */
-    private String seriesCode;
-    /**
-     * 车系名称
-     */
-    private String series;
-    /**
-     * 车系类型
-     */
-    private String seriesType;
-    /**
-     * 品牌代码
-     */
-    private String brandCode;
-    /**
-     * 品牌名称
-     */
-    private String brand;
-    /**
-     * 简码
-     */
-    private String shortHandCode;
-    /**
-     * 车辆种类代码
-     *
-     * 默认情况下为 V。
-     *
-     * 其值为所选车辆类型({@link #carKindCode})的 vehicleKindCode 值
-     */
-    private String vehicleKindCode;
-    /**
-     * 车辆名称
-     */
-    private String carName;
-    /**
-     * 月折旧率
-     */
-    private BigDecimal monthDepRate;
-    /**
-     * 匹配车型代码
-     */
-    private String matchCiModelCode;
-    /**
-     * 整备质量
-     */
-    private String unladenMass;
-    /**
-     * CI车型代码
-     */
-    private String ciModelCode;
-    /**
-     * 通知类型
-     */
-    private String noticeType;
-    /**
-     * CI车辆种类
-     */
-    private String ciCarKind;
-    /**
-     * 新车标识
-     *
-     * 0:旧车
-     * 1:新车
-     */
-    private String newCarSign;
-    /**
-     * 行驶区域
-     *
-     * 固定值,为 02
-     */
-    private String runArea;
-    /**
-     * 行驶区域名称
-     *
-     * 固定值,为 境内
-     */
-    private String runAreaName;
-    /**
-     * 承修方id
-     */
-    private String factoryId;
-    /**
-     * 承修方编码
-     */
-    private String factoryCode;
-    /**
-     * 承修方名称
-     */
-    private String factoryName;
-    /**
-     * 车辆类型代码
-     */
-    private String carTypeCode;
-    /**
-     * 车辆国产属性
-     */
-    private String countryNature;
-    /**
-     * 记录ID
-     */
-    private String id;
-    /**
-     * 订单ID
-     */
-    private String orderId;
-    /**
-     * 是否新能源车
-     */
-    private String isEnergy;
-    /**
-     * 欺诈标识
-     */
-    private String fraud;
-    /**
-     * 车型分类
-     */
-    private String cimodelclass;
-
-    private String outsideCarFlag;
-
-    private String createTime;
-
-}

+ 0 - 22
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiReInsureItem.java

@@ -1,22 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-@Setter
-@Getter
-public class ChengTaiReInsureItem extends UnknownFieldEntity {
-    /**
-     * 车辆识别号
-     */
-    @JsonProperty("vin")
-    private String vin;
-
-    /**
-     * 发动机号
-     */
-    @JsonProperty("engineNo")
-    private String engineNo;
-}

+ 0 - 38
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiRule.java

@@ -1,38 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-@Setter
-@Getter
-public class ChengTaiRule extends UnknownFieldEntity {
-    /**
-     * 规则权限级别
-     */
-    private String authorityLevel;
-    /**
-     * 数据类型
-     */
-    private String dataType;
-    /**
-     * 规则原因描述
-     */
-    private String reasondescription;
-    /**
-     * 规则集名称
-     */
-    private String ruleSetName;
-    /**
-     * 险种代码
-     */
-    private String riskCode;
-    /**
-     * UUID
-     */
-    private String uuid;
-    /**
-     * 最终规则结果
-     */
-    private String finalRuleResult;
-}

+ 0 - 85
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiSaleInfo.java

@@ -1,85 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import lombok.Getter;
-import lombok.Setter;
-
-@Setter
-@Getter
-public class ChengTaiSaleInfo extends ChengTaiSaleMan {
-
-    /**
-     * 业务模式
-     */
-    private String businessMode;
-    /**
-     * 业务来源
-     */
-    private String businessSource;
-    /**
-     * 公司代码
-     */
-    private String comCode;
-    /**
-     * 公司名称
-     */
-    private String comName;
-    /**
-     * 渠道类型
-     */
-    private String channelType;
-    /**
-     * 协议号
-     */
-    private String agreementNo;
-    /**
-     * 协议名称
-     */
-    private String agreementNoName;
-    /**
-     * 代理代码
-     */
-    private String agentCode;
-    /**
-     * 代理名称
-     */
-    private String agentName;
-    /**
-     * 方案代码
-     */
-    private String solutionCode;
-    /**
-     * 许可证号
-     */
-    private String permitNo;
-    /**
-     * 渠道类型明细
-     */
-    private String channelTypeDetail;
-    /**
-     * 处理人代码
-     */
-    private String handlerCode;
-    /**
-     * 处理人名称
-     */
-    private String handlerName;
-    /**
-     * 合作网点代码
-     */
-    private String cooperateSiteCode;
-    /**
-     * 合作网点名称
-     */
-    private String cooperateSiteName;
-    /**
-     * 订单ID
-     */
-    private String orderId;
-    /**
-     * 日期类型
-     */
-    private String dateType;
-
-    private String createTime;
-
-}

+ 0 - 41
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiSaleMan.java

@@ -1,41 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-@Setter
-@Getter
-public class ChengTaiSaleMan extends UnknownFieldEntity {
-
-    /**
-     * ID
-     */
-    private String id;
-
-    /**
-     * 用户代码
-     */
-    private String userCode;
-
-    /**
-     * 用户名
-     */
-    private String username;
-    private String userName;
-
-    /**
-     * 用户标识
-     */
-    private String userInd;
-
-    /**
-     * 有效标识
-     */
-    private String validInd;
-
-    /**
-     * 公司代码
-     */
-    private String companyCode;
-}

+ 0 - 60
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiSalesRisk.java

@@ -1,60 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-@Setter
-@Getter
-public class ChengTaiSalesRisk extends UnknownFieldEntity {
-
-    /**
-     * ID
-     */
-    private String id;
-
-    /**
-     * 创建时间
-     */
-    private String createTime;
-
-    /**
-     * 公司代码
-     */
-    private String companyCode;
-
-    /**
-     * 公司名称
-     */
-    private String companyName;
-
-    /**
-     * 业务员代码
-     */
-    private String salesmanCode;
-
-    /**
-     * 业务员名称
-     */
-    private String salesmanCodeName;
-
-    /**
-     * 组织代码
-     */
-    private String orgCode;
-
-    /**
-     * 组织名称
-     */
-    private String orgName;
-
-    /**
-     * 有效标识
-     */
-    private String validInd;
-
-    /**
-     * 关联风险代码列表
-     */
-    private String relationRisks;
-}

+ 0 - 15
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiSession.java

@@ -1,15 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import lombok.Getter;
-import lombok.Setter;
-import org.springframework.data.annotation.Id;
-import org.springframework.data.mongodb.core.mapping.Document;
-
-@Setter
-@Getter
-@Document("chengtai.crawler.session")
-public class ChengTaiSession {
-    @Id
-    private String username;
-    private String token;
-}

+ 0 - 68
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiSubAgreement.java

@@ -1,68 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-import java.util.List;
-
-@Setter
-@Getter
-public class ChengTaiSubAgreement extends UnknownFieldEntity {
-
-    /**
-     * ID
-     */
-    private String id;
-
-    /**
-     * 创建时间
-     */
-    private String createTime;
-
-    /**
-     * 协议代码
-     */
-    private String agreementCode;
-
-    /**
-     * 解决方案代码
-     */
-    private String solutionCode;
-
-    /**
-     * 业务员代码
-     */
-    private String salesmanCode;
-
-    /**
-     * 业务员名称
-     */
-    private String salesmanCodeName;
-
-    /**
-     * 合作站点代码
-     */
-    private String cooperateSiteCode;
-    private List<String> cooperateSiteCodeList;
-
-    /**
-     * 开始日期(时间戳)
-     */
-    private String startDate;
-
-    /**
-     * 结束日期(时间戳)
-     */
-    private String endDate;
-
-    /**
-     * 有效标识
-     */
-    private String validInd;
-
-    /**
-     * 关联风险代码列表
-     */
-    private String relationRisks;
-}

+ 0 - 26
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiSubmitReqBody.java

@@ -1,26 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-@Setter
-@Getter
-public class ChengTaiSubmitReqBody extends UnknownFieldEntity {
-    /**
-     * 业务类型
-     */
-    private String businessType;
-    /**
-     * 强制核保标识
-     */
-    private Boolean mandatoryReviewFlag;
-    /**
-     * 再保标识
-     */
-    private String reinsuranceFlag;
-    /**
-     * 意健险关联标识
-     */
-    private String acciRelatedFlag;
-}

+ 0 - 107
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiTax.java

@@ -1,107 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-@Setter
-@Getter
-public class ChengTaiTax extends UnknownFieldEntity {
-    /**
-     * 纳税条件代码
-     * "1N": "代收税",
-     * "5J": "减税",
-     * "3M": "免税",
-     * "2W": "已完税",
-     * "7B": "不征",
-     * "01": "不代收税"
-     */
-    private String taxConditionCode;
-    /**
-     * 纳税开始日期
-     */
-    private String taxStartDate;
-    /**
-     * 纳税结束日期
-     */
-    private String taxEndDate;
-    /**
-     * 计算方式
-     *
-     * 1:按保险期间起期
-     * 2:按签单日期
-     * 4:按车辆购置日期
-     */
-    private String calculateMode;
-    /**
-     * 纳税人证件类型
-     *
-     * 01  :  居民身份证
-     * 02  :  护照
-     * 03  :  军人身份证件
-     * 08  :  港澳居民来往内地通行证
-     * 09  :  台湾居民来往大陆通行证
-     * 1   :  组织机构代码证
-     * 10  :  武警身份证件
-     * 11  :  外国人永久居留身份证
-     * 2   :  税务登记证
-     * 3   :  营业执照
-     * 4   :  统一社会信用代码
-     * 44  :  港澳台居民居住证
-     */
-    private String taxPayerIdentityType;
-    /**
-     * 纳税人证件号码
-     */
-    private String taxPayerIdentityNo;
-    /**
-     * 纳税人识别号
-     */
-    private String taxPayerIdentificationCode;
-    /**
-     * 纳税人名称
-     */
-    private String taxPayerName;
-    /**
-     * 上次纳税年度
-     *
-     */
-    private Integer lastPaidYear;
-    /**
-     * 保单ID
-     */
-    private String policyId;
-
-    /**
-     * 整备质量
-     */
-    private String unladenMass;
-    /**
-     * 减税凭证号
-     */
-    private String documentNumber;
-    /**
-     * 税务机关名称
-     */
-    private String taxDepartment;
-    /**
-     * 税务机关名称
-     */
-    private String taxDepartmentDetail;
-
-    /**
-     * 减免方案
-     *
-     * 1:按金额进行减免
-     * 2:按比例进行减免
-     */
-    private String deductionDueType;
-    /**
-     * 减免金额
-     */
-    private String deduction;
-    /**
-     * 减免比例
-     */
-    private String deductionDueProportion;
-}

+ 0 - 40
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiUseNature.java

@@ -1,40 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-@Setter
-@Getter
-public class ChengTaiUseNature extends UnknownFieldEntity {
-
-    /**
-     * 父值
-     */
-    private String parentValue;
-
-    /**
-     * 类型
-     */
-    private String type;
-
-    /**
-     * 项目名称
-     */
-    private String itemName;
-
-    /**
-     * 项目值
-     */
-    private String itemValue;
-
-    /**
-     * 描述
-     */
-    private String description;
-
-    /**
-     * 排序
-     */
-    private Integer sort;
-}

+ 0 - 39
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/entity/ChengTaiVehicleType.java

@@ -1,39 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.entity;
-
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-@Setter
-@Getter
-public class ChengTaiVehicleType extends UnknownFieldEntity {
-    /**
-     * 类型
-     */
-    private String type;
-
-    /**
-     * 项目名称
-     */
-    private String itemName;
-
-    /**
-     * 描述
-     */
-    private String description;
-
-    /**
-     * 创建时间
-     */
-    private String createTime;
-
-    /**
-     * 扩展数据
-     */
-    private String extdata;
-
-    /**
-     * 项目值
-     */
-    private String itemValue;
-}

+ 0 - 29
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/param/ChengTaiDownloadAddressParam.java

@@ -1,29 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.param;
-
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-@Setter
-@Getter
-public class ChengTaiDownloadAddressParam extends UnknownFieldEntity {
-    /**
-     * 合同编号
-     */
-    private String contractNo;
-
-    /**
-     * 业务类型
-     */
-    private String businessType;
-
-    /**
-     * 生效日期
-     */
-    private String validDate; // 使用 LocalDateTime 处理日期时间
-
-    /**
-     * 保单唯一标识符
-     */
-    private String policyUuid;
-}

+ 0 - 15
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/param/ChengTaiFindSaleManVoByDeptCodeParam.java

@@ -1,15 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.param;
-
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-import java.util.List;
-
-@Setter
-@Getter
-public class ChengTaiFindSaleManVoByDeptCodeParam extends UnknownFieldEntity {
-    private String deptCode;
-    private String isOuter;
-    private List<String> riskCodes;
-}

+ 0 - 34
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/param/ChengTaiHygeiaGetParam.java

@@ -1,34 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.param;
-
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-@Setter
-@Getter
-public class ChengTaiHygeiaGetParam extends UnknownFieldEntity {
-    /**
-     * 公司代码
-     */
-    private String comCode;
-
-    /**
-     * 座位数
-     */
-    private Integer seat;
-
-    /**
-     * 险种代码
-     */
-    private String riskCode;
-
-    /**
-     * 车辆种类代码
-     */
-    private String carKindCode;
-
-    /**
-     * 使用性质代码
-     */
-    private String useNatureCode;
-}

+ 0 - 31
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/param/ChengTaiImageUploadParam.java

@@ -1,31 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.param;
-
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-import java.util.List;
-
-@Setter
-@Getter
-public class ChengTaiImageUploadParam extends UnknownFieldEntity {
-    /**
-     * 业务编号
-     */
-    private String businessNo;
-
-    /**
-     * 是否为新车 (1: 是, 0: 否)
-     */
-    private Integer isCarNew;
-
-    /**
-     * 应用代码
-     */
-    private String appCode;
-
-    /**
-     * 图片名称列表
-     */
-    private List<String> imgNames;
-}

+ 0 - 13
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/param/ChengTaiLoginParam.java

@@ -1,13 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.param;
-
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-@Setter
-@Getter
-public class ChengTaiLoginParam extends UnknownFieldEntity {
-    private String username;
-    private String password;
-    private String captchaVerification;
-}

+ 0 - 100
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/param/ChengTaiPremiumcalParam.java

@@ -1,100 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.param;
-
-import com.jzg.quotation.chengtai.crawler.model.entity.*;
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-import org.springframework.data.annotation.Id;
-import org.springframework.data.mongodb.core.mapping.Document;
-
-/**
- * 保费计算的参数
- */
-@Setter
-@Getter
-@Document("chengtai.crawler.premiumcal")
-public class ChengTaiPremiumcalParam extends UnknownFieldEntity {
-
-    @Id
-    private String orderId;
-
-
-
-
-    /**
-     * 组合信息对象
-     */
-    private ChengTaiCombo combo;
-
-    /**
-     * 标志位信息对象
-     */
-    private ChengTaiFlag flag;
-
-    /**
-     * 主业务信息对象
-     */
-    private ChengTaiBusinessMain businessMain;
-
-    /**
-     * 销售信息对象
-     */
-    private ChengTaiSaleInfo saleInfo;
-
-    /**
-     * 被保对象信息
-     */
-    private ChengTaiInsuredObject insuredObject;
-
-    /**
-     * 被保险人信息
-     */
-    private ChengTaiInsured insured;
-
-    /**
-     * 商业险
-     */
-    private ChengTaiBiContract biContract;
-
-    /**
-     * 交强险
-     */
-    private ChengTaiCiContract ciContract;
-
-    /**
-     * 提交请求体对象
-     */
-    private ChengTaiSubmitReqBody submitReqBody;
-
-    /**
-     * 意外险销售信息
-     */
-    private ChengTaiAcciSaleInfo acciSaleInfo;
-
-    /**
-     * 申请人信息
-     */
-    private ChengTaiApplicant applicant;
-
-    /**
-     * 车主/拥有者信息
-     */
-    private ChengTaiOwner owner;
-
-    private String sunlightId;
-
-    @Override
-    protected void addChildUnknownFields() {
-        addChildUnknownField("combo", combo);
-        addChildUnknownField("flag", flag);
-        addChildUnknownField("businessMain", businessMain);
-        addChildUnknownField("saleInfo", saleInfo);
-        addChildUnknownField("insuredObject", insuredObject);
-        addChildUnknownField("insured", insured);
-        addChildUnknownField("biContract", biContract);
-        addChildUnknownField("submitReqBody", submitReqBody);
-        addChildUnknownField("acciSaleInfo", acciSaleInfo);
-        addChildUnknownField("applicant", applicant);
-        addChildUnknownField("owner", owner);
-    }
-}

+ 0 - 38
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/param/ChengTaiVehicleCoreSaveParam.java

@@ -1,38 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.param;
-
-import com.jzg.quotation.chengtai.crawler.model.entity.*;
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-@Setter
-@Getter
-public class ChengTaiVehicleCoreSaveParam extends UnknownFieldEntity {
-
-    private ChengTaiCombo combo;
-    private ChengTaiFlag flag;
-    private ChengTaiBusinessMain businessMain;
-    private ChengTaiSaleInfo saleInfo;
-    private ChengTaiInsuredObject insuredObject;
-    private ChengTaiInsured insured;
-    private ChengTaiApplicant applicant;
-    private ChengTaiOwner owner;
-    private ChengTaiCiContract ciContract;
-    private ChengTaiSubmitReqBody submitReqBody;
-    private ChengTaiAcciSaleInfo acciSaleInfo;
-
-    @Override
-    protected void addChildUnknownFields() {
-        addChildUnknownField("flag", flag);
-        addChildUnknownField("combo", combo);
-        addChildUnknownField("businessMain", businessMain);
-        addChildUnknownField("saleInfo", saleInfo);
-        addChildUnknownField("insuredObject", insuredObject);
-        addChildUnknownField("insured", insured);
-        addChildUnknownField("applicant", applicant);
-        addChildUnknownField("owner", owner);
-        addChildUnknownField("ciContract", ciContract);
-        addChildUnknownField("submitReqBody", submitReqBody);
-        addChildUnknownField("acciSaleInfo", acciSaleInfo);
-    }
-}

+ 0 - 68
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/response/ChengTaiCheckCaptchaResponse.java

@@ -1,68 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.response;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import lombok.Data;
-import lombok.NoArgsConstructor;
-
-import java.io.Serial;
-import java.io.Serializable;
-
-
-/**
- * @ClassName ChengTaiCheckCaptchaResponse
- * @Description 诚泰财险校验参数返回参数
- * @Author wenks
- * @Date 2025/9/9 16:43
- * @Version 1.0
- */
-@NoArgsConstructor
-@Data
-public class ChengTaiCheckCaptchaResponse implements Serializable {
-
-    @Serial
-    private static final long serialVersionUID = 7356576829460089305L;
-
-    @JsonProperty("code")
-    private Integer code;
-
-    @JsonProperty("message")
-    private String message;
-
-    @JsonProperty("body")
-    private BodyDTO body;
-
-    @NoArgsConstructor
-    @Data
-    public static class BodyDTO {
-
-        @JsonProperty("repCode")
-        private String repCode;
-
-        @JsonProperty("repData")
-        private RepDataDTO repData;
-
-        @JsonProperty("repMsg")
-        private String repMsg;
-
-        @JsonProperty("success")
-        private Boolean success;
-
-        @NoArgsConstructor
-        @Data
-        public static class RepDataDTO {
-
-            @JsonProperty("captchaType")
-            private String captchaType;
-
-            @JsonProperty("pointJson")
-            private String pointJson;
-
-            @JsonProperty("token")
-            private String token;
-
-            @JsonProperty("result")
-            private Boolean result;
-
-        }
-    }
-}

+ 0 - 16
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiClientIdentifyResult.java

@@ -1,16 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.result;
-
-import com.jzg.quotation.chengtai.crawler.client.ChengTaiResponse;
-import com.jzg.quotation.chengtai.crawler.model.entity.ChengTaiApplicant;
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-@Setter
-@Getter
-public class ChengTaiClientIdentifyResult extends UnknownFieldEntity {
-    public static class Response extends ChengTaiResponse<ChengTaiApplicant> {
-
-    }
-
-}

+ 0 - 61
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiDownloadAddressResult.java

@@ -1,61 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.result;
-
-import com.jzg.quotation.chengtai.crawler.client.ChengTaiResponse;
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-import java.util.List;
-
-@Setter
-@Getter
-public class ChengTaiDownloadAddressResult extends UnknownFieldEntity {
-    public static class Response extends ChengTaiResponse<ChengTaiDownloadAddressResult> {
-
-    }
-
-    /**
-     * 查询结果列表
-     */
-    private List<QueryResult> queryResults;
-
-    @Override
-    protected void addChildUnknownFields() {
-        addChildUnknownField("queryResults", queryResults);
-    }
-
-    @Setter
-    @Getter
-    public static class QueryResult extends UnknownFieldEntity {
-
-        /**
-         * 文档类型
-         */
-        private String docType;
-
-        /**
-         * 文档名称
-         */
-        private String docName;
-
-        /**
-         * 下载链接
-         */
-        private String downLoadURL;
-
-        /**
-         * 子业务编号
-         */
-        private String subBusinessNo;
-
-        /**
-         * 风险代码
-         */
-        private String riskCode;
-
-        /**
-         * 唯一标识符
-         */
-        private String uuid;
-    }
-}

+ 0 - 14
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiFindAreaConfigResult.java

@@ -1,14 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.result;
-
-import com.jzg.quotation.chengtai.crawler.client.ChengTaiResponse;
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-@Setter
-@Getter
-public class ChengTaiFindAreaConfigResult extends UnknownFieldEntity {
-    public static class Response extends ChengTaiResponse<ChengTaiDownloadAddressResult> {
-
-    }
-}

+ 0 - 19
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiFindAttributionOrgByUserResult.java

@@ -1,19 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.result;
-
-import com.jzg.quotation.chengtai.crawler.client.ChengTaiResponse;
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-import java.util.List;
-
-@Setter
-@Getter
-public class ChengTaiFindAttributionOrgByUserResult extends UnknownFieldEntity {
-    public static class Response extends ChengTaiResponse<List<ChengTaiFindAttributionOrgByUserResult>> {
-
-    }
-
-    private String deptCode;
-    private String deptName;
-}

+ 0 - 29
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiFindCarModelResult.java

@@ -1,29 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.result;
-
-import com.jzg.quotation.chengtai.crawler.client.ChengTaiResponse;
-import com.jzg.quotation.chengtai.crawler.model.entity.ChengTaiCarModel;
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-import java.util.List;
-
-@Setter
-@Getter
-public class ChengTaiFindCarModelResult extends UnknownFieldEntity {
-
-    public static class Response extends ChengTaiResponse<ChengTaiFindCarModelResult> {
-
-    }
-
-    /**
-     * 数据列表
-     */
-    private List<ChengTaiCarModel> data;
-
-    /**
-     * 总记录数
-     */
-    private String totalCount;
-
-}

+ 0 - 81
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiFindCoreConferInfoByHandleCodeResult.java

@@ -1,81 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.result;
-
-import com.jzg.quotation.chengtai.crawler.client.ChengTaiResponse;
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-import java.util.List;
-
-@Setter
-@Getter
-public class ChengTaiFindCoreConferInfoByHandleCodeResult extends UnknownFieldEntity {
-    public static class Response extends ChengTaiResponse<ChengTaiFindCoreConferInfoByHandleCodeResult> {
-
-    }
-
-    /**
-     * 协议代码
-     */
-    private String agreementCode;
-
-    /**
-     * 中介代码
-     */
-    private String intermediaryCode;
-
-    /**
-     * 解决方案代码
-     */
-    private String solutionCode;
-
-    /**
-     * 公司代码
-     */
-    private String companyCode;
-
-    /**
-     * 中介名称
-     */
-    private String intermediaryName;
-
-    /**
-     * 注册代码
-     */
-    private String registerCode;
-
-    /**
-     * 中介类型
-     */
-    private String intermediaryKind;
-
-    /**
-     * 渠道详细代码
-     */
-    private String channelDetailCode;
-
-    /**
-     * 渠道提示
-     */
-    private String channelTip;
-
-    /**
-     * 到期日期(时间戳,毫秒)
-     */
-    private Long expireDate;
-
-    /**
-     * 来源
-     */
-    private String source;
-
-    /**
-     * 合作站点代码
-     */
-    private List<String> cooperateSiteCode; // Assuming it's a JSON array of strings
-
-    /**
-     * 关联风险
-     */
-    private List<String> relationRisks;
-}

+ 0 - 17
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiFindDictionaryResult.java

@@ -1,17 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.result;
-
-import com.jzg.quotation.chengtai.crawler.client.ChengTaiResponse;
-import com.jzg.quotation.chengtai.crawler.model.entity.ChengTaiDictionary;
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-import java.util.List;
-
-@Setter
-@Getter
-public class ChengTaiFindDictionaryResult extends UnknownFieldEntity {
-    public static class Response extends ChengTaiResponse<List<ChengTaiDictionary>> {
-
-    }
-}

+ 0 - 46
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiFindSaleManVoByDeptCodeResult.java

@@ -1,46 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.result;
-
-import com.jzg.quotation.chengtai.crawler.client.ChengTaiResponse;
-import com.jzg.quotation.chengtai.crawler.model.entity.ChengTaiSaleMan;
-import lombok.Getter;
-import lombok.Setter;
-
-import java.util.List;
-
-@Setter
-@Getter
-public class ChengTaiFindSaleManVoByDeptCodeResult extends ChengTaiSaleMan {
-    public static class Response extends ChengTaiResponse<List<ChengTaiFindSaleManVoByDeptCodeResult>> {
-
-    }
-
-    /**
-     * 分页信息
-     */
-    private Page page;
-
-    /**
-     * 部门代码
-     */
-    private String deptCode;
-
-
-    @Getter
-    @Setter
-    public static class Page {
-        /**
-         * 页码
-         */
-        private Integer pageIndex;
-
-        /**
-         * 每页大小
-         */
-        private Integer pageSize;
-
-        /**
-         * 排序规则
-         */
-        private String orderBy;
-    }
-}

+ 0 - 11
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiGetPolicyModelResult.java

@@ -1,11 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.result;
-
-import com.jzg.quotation.chengtai.crawler.client.ChengTaiResponse;
-import com.jzg.quotation.chengtai.crawler.model.param.ChengTaiPremiumcalParam;
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-
-public class ChengTaiGetPolicyModelResult extends UnknownFieldEntity {
-    public static class Response extends ChengTaiResponse<ChengTaiPremiumcalParam> {
-
-    }
-}

+ 0 - 16
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiHygeiaGetResult.java

@@ -1,16 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.result;
-
-import com.jzg.quotation.chengtai.crawler.client.ChengTaiResponse;
-import com.jzg.quotation.chengtai.crawler.model.entity.ChengTaiAccidentInsurance;
-import lombok.Getter;
-import lombok.Setter;
-
-import java.util.List;
-
-@Setter
-@Getter
-public class ChengTaiHygeiaGetResult {
-    public static class Response extends ChengTaiResponse<List<ChengTaiAccidentInsurance>> {
-
-    }
-}

+ 0 - 18
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiImageUploadResult.java

@@ -1,18 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.result;
-
-import com.jzg.quotation.chengtai.crawler.client.ChengTaiResponse;
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-@Setter
-@Getter
-public class ChengTaiImageUploadResult extends UnknownFieldEntity {
-    public static class Response extends ChengTaiResponse<ChengTaiImageUploadResult> {
-
-    }
-
-    private String code;
-
-    private String message;
-}

+ 0 - 201
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiInsureResult.java

@@ -1,201 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.result;
-
-import com.jzg.quotation.chengtai.crawler.client.ChengTaiResponse;
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-import java.util.List;
-
-@Setter
-@Getter
-public class ChengTaiInsureResult extends UnknownFieldEntity {
-    public static class Response extends ChengTaiResponse<List<ChengTaiInsureResult>> {
-
-    }
-
-    /**
-     * 被保险人类型
-     */
-    private String insuredType;
-
-    /**
-     * 应用类型
-     */
-    private String appType;
-
-    /**
-     * 被保险人手机号
-     */
-    private String insureMobile;
-
-    /**
-     * 支付方式
-     */
-    private String payWay;
-
-    /**
-     * 分页信息(这里假设为字符串表示,实际可能是一个对象)
-     */
-    private Object pagination; // 如果需要具体类型,可以替换为对应的类
-
-    /**
-     * 唯一标识符
-     */
-    private String uuid;
-
-    /**
-     * 订单ID
-     */
-    private String orderId;
-
-    /**
-     * 投保单号
-     */
-    private String proposalNo;
-
-    /**
-     * 公司名称
-     */
-    private String comName;
-
-    /**
-     * 公司代码
-     */
-    private String comCode;
-
-    /**
-     * 风险代码
-     */
-    private String riskCode;
-
-    /**
-     * 风险名称
-     */
-    private String riskName;
-
-    /**
-     * 被保险人姓名
-     */
-    private String insuredName;
-
-    /**
-     * 申请人姓名
-     */
-    private String appName;
-
-    /**
-     * 申请人手机号
-     */
-    private String appMobile;
-
-    /**
-     * 身份证号码
-     */
-    private String identifyNumber;
-
-    /**
-     * 证件类型代码
-     */
-    private String identifyTypeCode;
-
-    /**
-     * 车牌号
-     */
-    private String plateNo;
-
-    /**
-     * 总保费
-     */
-    private String totalPremium;
-
-    /**
-     * 操作日期
-     */
-    private String operateDate; // 使用 LocalDate 处理日期
-
-    /**
-     * 生效日期
-     */
-    private String validDate; // 使用 LocalDateTime 处理日期时间
-
-    /**
-     * 到期日期
-     */
-    private String expiryDate; // 使用 LocalDateTime 处理日期时间
-
-    /**
-     * 承保指示
-     */
-    private String underWriteInd;
-
-    /**
-     * 短信验证码标志
-     */
-    private String smsCodeFlag;
-
-    /**
-     * 支付费用
-     */
-    private String payFee;
-
-    /**
-     * 税费合计
-     */
-    private String sumTax;
-
-    /**
-     * 查询序列号
-     */
-    private String querySequenceNo;
-
-    /**
-     * 收款人姓名
-     */
-    private String payeeName;
-
-    /**
-     * 交易号
-     */
-    private String tradeNo;
-
-    /**
-     * 支付方式代码
-     */
-    private String payMethod;
-
-    /**
-     * 支付标记
-     */
-    private String paymentmark;
-
-    /**
-     * 是否主单
-     */
-    private String isMaster;
-
-    /**
-     * 签约状态
-     */
-    private String signStatus;
-
-    /**
-     * 支付链接
-     */
-    private String payUrl;
-
-    /**
-     * 操作员代码
-     */
-    private String operatorCode;
-
-    /**
-     * 是否创建电子保险
-     */
-    private String isCreateEInsurance;
-
-    /**
-     * 承保指示名称
-     */
-    private String underWriteIndName;
-}

+ 0 - 11
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiLoginResult.java

@@ -1,11 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.result;
-
-import com.jzg.quotation.chengtai.crawler.client.ChengTaiResponse;
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-
-public class ChengTaiLoginResult extends UnknownFieldEntity {
-
-    public static class Response extends ChengTaiResponse<String> {
-
-    }
-}

+ 0 - 91
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiPremiumcalResult.java

@@ -1,91 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.result;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.jzg.quotation.chengtai.crawler.client.ChengTaiResponse;
-import com.jzg.quotation.chengtai.crawler.model.entity.ChengTaiBiContract;
-import com.jzg.quotation.chengtai.crawler.model.entity.ChengTaiIlogRuleResult;
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-import java.util.List;
-import java.util.Map;
-
-@Setter
-@Getter
-public class ChengTaiPremiumcalResult extends UnknownFieldEntity {
-
-    public static class Response extends ChengTaiResponse<ChengTaiPremiumcalResult> {
-
-    }
-
-    /**
-     * 被保对象信息
-     */
-    @JsonProperty("insuredObject")
-    private Map<String, Object> insuredObject;
-
-    /**
-     * 商业险合同信息
-     */
-    @JsonProperty("biContract")
-    private ChengTaiBiContract biContract;
-
-    /**
-     * UBI信息
-     */
-    @JsonProperty("ubiInfo")
-    private Map<String, Object> ubiInfo;
-
-    /**
-     * 风险识别信息
-     */
-    @JsonProperty("riskIdentifyInfo")
-    private Map<String, Object> riskIdentifyInfo;
-
-    /**
-     * 阳光ID
-     */
-    @JsonProperty("sunlightId")
-    private String sunlightId;
-
-    /**
-     * 车辆注册标识
-     */
-    @JsonProperty("carRegistFlag")
-    private String carRegistFlag;
-
-    /**
-     * 智能核保规则结果
-     */
-    @JsonProperty("ilogRuleResult")
-    private ChengTaiIlogRuleResult ilogRuleResult;
-
-    /**
-     * 黑名单ID
-     */
-    @JsonProperty("blackId")
-    private String blackId;
-
-    /**
-     * 黑名单风险列表
-     */
-    @JsonProperty("blackRisk")
-    private List<Object> blackRisk;
-
-    /**
-     * 方案代码
-     */
-    @JsonProperty("planCode")
-    private String planCode;
-
-    @Override
-    protected void addChildUnknownFields() {
-        //addChildUnknownField("biContract", insuredObject);
-        addChildUnknownField("biContract", biContract);
-        //addChildUnknownField("ubiInfo", ubiInfo);
-        //addChildUnknownField("riskIdentifyInfo", riskIdentifyInfo);
-        addChildUnknownField("ilogRuleResult", ilogRuleResult);
-        //addChildUnknownField("blackRisk", blackRisk);
-    }
-}

+ 0 - 39
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiQueryCarInfoResult.java

@@ -1,39 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.result;
-
-import com.jzg.quotation.chengtai.crawler.client.ChengTaiResponse;
-import com.jzg.quotation.chengtai.crawler.model.entity.ChengTaiCarFullData;
-import com.jzg.quotation.chengtai.crawler.model.entity.ChengTaiCarPlatformBean;
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-import java.util.List;
-
-@Setter
-@Getter
-public class ChengTaiQueryCarInfoResult extends UnknownFieldEntity {
-
-    public static class Response extends ChengTaiResponse<ChengTaiQueryCarInfoResult> {
-
-    }
-
-    private List<QueryCarModel> carModelList;
-
-    @Override
-    protected void addChildUnknownFields() {
-        addChildUnknownField("carModelList", carModelList);
-    }
-
-    @Setter
-    @Getter
-    public static class QueryCarModel extends UnknownFieldEntity{
-        private ChengTaiCarFullData fullCarData;
-        private ChengTaiCarPlatformBean platformCarBean;
-
-        @Override
-        protected void addChildUnknownFields() {
-            addChildUnknownField("fullCarData", fullCarData);
-            addChildUnknownField("platformCarBean",  platformCarBean);
-        }
-    }
-}

+ 0 - 44
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiQueryLoginUserInfoResult.java

@@ -1,44 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.result;
-
-import com.jzg.quotation.chengtai.crawler.client.ChengTaiResponse;
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-@Setter
-@Getter
-public class ChengTaiQueryLoginUserInfoResult extends UnknownFieldEntity {
-    public static class Response extends ChengTaiResponse<ChengTaiQueryLoginUserInfoResult> {
-
-    }
-
-    /**
-     * 密码有效期
-     */
-    private String pwdValid;
-
-    /**
-     * 是否外部用户
-     */
-    private Integer isOuter;
-
-    /**
-     * 公司名称
-     */
-    private String comName;
-
-    /**
-     * 用户名
-     */
-    private String userName;
-
-    /**
-     * 公司代码
-     */
-    private String comCode;
-
-    /**
-     * 用户代码
-     */
-    private String userCode;
-}

+ 0 - 34
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiQueryRiskAuthorityResult.java

@@ -1,34 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.result;
-
-import com.jzg.quotation.chengtai.crawler.client.ChengTaiResponse;
-import com.jzg.quotation.chengtai.crawler.model.entity.ChengTaiSalesRisk;
-import com.jzg.quotation.chengtai.crawler.model.entity.ChengTaiSubAgreement;
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-import java.util.List;
-
-@Setter
-@Getter
-public class ChengTaiQueryRiskAuthorityResult extends UnknownFieldEntity {
-    public static class Response extends ChengTaiResponse<ChengTaiQueryRiskAuthorityResult> {
-
-    }
-
-    /**
-     * 子协议列表
-     */
-    private List<ChengTaiSubAgreement> subAgreements;
-
-    /**
-     * 销售风险列表
-     */
-    private List<ChengTaiSalesRisk> salesRisks;
-
-    @Override
-    protected void addChildUnknownFields() {
-        addChildUnknownField("subAgreements", subAgreements);
-        addChildUnknownField("salesRisks", salesRisks);
-    }
-}

+ 0 - 40
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiQueryVehicleListResult.java

@@ -1,40 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.result;
-
-import com.jzg.quotation.chengtai.crawler.client.ChengTaiResponse;
-import com.jzg.quotation.chengtai.crawler.model.entity.ChengTaiCarKind;
-import com.jzg.quotation.chengtai.crawler.model.entity.ChengTaiJqxclassidDic;
-import com.jzg.quotation.chengtai.crawler.model.entity.ChengTaiUseNature;
-import com.jzg.quotation.chengtai.crawler.model.entity.ChengTaiVehicleType;
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-import java.util.List;
-
-@Setter
-@Getter
-public class ChengTaiQueryVehicleListResult extends UnknownFieldEntity {
-    public static class Response extends ChengTaiResponse<ChengTaiQueryVehicleListResult> {
-
-    }
-
-    /**
-     * 使用性质列表
-     */
-    private List<ChengTaiUseNature> useNatUreNameList;
-
-    /**
-     * 车辆类型列表
-     */
-    private List<ChengTaiVehicleType> vehicleTypeNameList;
-    private List<ChengTaiJqxclassidDic> jqxclassidDic;
-    private List<ChengTaiCarKind> kindCodeList;
-
-    @Override
-    protected void addChildUnknownFields() {
-        addChildUnknownField("useNatUreNameList", useNatUreNameList);
-        addChildUnknownField("vehicleTypeNameList", vehicleTypeNameList);
-        addChildUnknownField("jqxclassidDic", jqxclassidDic);
-        addChildUnknownField("kindCodeList", kindCodeList);
-    }
-}

+ 0 - 66
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiSaveResult.java

@@ -1,66 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.result;
-
-import com.jzg.quotation.chengtai.crawler.client.ChengTaiResponse;
-import com.jzg.quotation.chengtai.crawler.model.param.ChengTaiPremiumcalParam;
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-@Setter
-@Getter
-public class ChengTaiSaveResult extends UnknownFieldEntity {
-    public static class Response extends ChengTaiResponse<ChengTaiSaveResult> {
-
-    }
-
-    private ChengTaiPremiumcalParam model;
-
-    private SaveResult saveResult;
-
-    @Override
-    protected void addChildUnknownFields() {
-        addChildUnknownField("model", model);
-        addChildUnknownField("saveResult", saveResult);
-    }
-
-    @Setter
-    @Getter
-    public static class SaveResult extends UnknownFieldEntity {
-        /**
-         * 唯一标识符
-         */
-        private String uuid;
-
-        /**
-         * 合同编号(业务编号)
-         */
-        private String contractNoBI;
-
-        /**
-         * 编码指示符 (具体含义需根据业务定义,例如可能为 "Yes/No" 标识)
-         */
-        private String codInd;
-
-        /**
-         * 签署状态 (具体状态码需根据业务定义,例如 2 可能表示某种特定状态)
-         */
-        private String signStatus;
-
-        /**
-         * 核保指示符 (具体含义需根据业务定义)
-         */
-        private String underWriteInd;
-
-        /**
-         * 反洗钱/反恐怖融资标志 (0 可能表示未触发,具体需根据业务定义)
-         */
-        private String amlterrorFlag;
-
-        /**
-         * 短信验证标志 (2 可能表示某种特定状态,具体需根据业务定义)
-         */
-        private String smscheckFlag;
-
-    }
-
-}

+ 0 - 143
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiSubmitResult.java

@@ -1,143 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.result;
-
-import com.jzg.quotation.chengtai.crawler.client.ChengTaiResponse;
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-import java.util.List;
-
-@Setter
-@Getter
-public class ChengTaiSubmitResult extends UnknownFieldEntity {
-    public static class Response extends ChengTaiResponse<ChengTaiSubmitResult> {
-
-    }
-
-    /**
-     * 响应头部
-     */
-    private Head head;
-
-    /**
-     * 提交结果
-     */
-    private SubmitResult submitResult;
-
-    @Getter
-    @Setter
-    public static class Head {
-        /**
-         * 响应代码
-         */
-        private String resCode;
-
-        /**
-         * 响应消息
-         */
-        private String resMsg;
-    }
-
-    @Getter
-    @Setter
-    public static class Contract {
-        /**
-         * 合同编号
-         */
-        private String contractNo;
-
-        /**
-         * 核保指示符
-         */
-        private String underWriteInd;
-
-        /**
-         * 风险代码
-         */
-        private String riskCode;
-    }
-
-    @Getter
-    @Setter
-    public static class Authority {
-        /**
-         * 权限级别
-         */
-        private String authorityLevel;
-
-        /**
-         * 数据类型
-         */
-        private String dataType;
-
-        /**
-         * 原因描述
-         */
-        private String reasondescription;
-
-        /**
-         * 规则集名称
-         */
-        private String ruleSetName;
-
-        /**
-         * 风险代码
-         */
-        private String riskCode;
-
-        /**
-         * 唯一标识符
-         */
-        private String uuid;
-
-        /**
-         * 最终规则结果
-         */
-        private String finalRuleResult;
-    }
-
-    @Getter
-    @Setter
-    public static class SubmitResult {
-        /**
-         * 唯一标识符
-         */
-        private String uuid;
-
-        /**
-         * 合同列表
-         */
-        private List<Contract> contracts;
-
-        /**
-         * 接收指示符
-         */
-        private String acceptInd;
-
-        /**
-         * 欺诈标志
-         */
-        private String fraud;
-
-        /**
-         * 最终规则结果
-         */
-        private String finalRuleResult;
-
-        /**
-         * 权限级别
-         */
-        private String authorityLevel;
-
-        /**
-         * 权限列表
-         */
-        private List<Authority> authorityList;
-
-        /**
-         * 再保险标志
-         */
-        private String reinsuranceFlag;
-    }
-
-}

+ 0 - 51
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/model/result/ChengTaiSystemResult.java

@@ -1,51 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.model.result;
-
-import com.jzg.quotation.chengtai.crawler.client.ChengTaiResponse;
-import com.jzg.quotation.commons.utils.UnknownFieldEntity;
-import lombok.Getter;
-import lombok.Setter;
-
-import java.util.List;
-
-@Setter
-@Getter
-public class ChengTaiSystemResult extends UnknownFieldEntity {
-    public static class Response extends ChengTaiResponse<List<ChengTaiSystemResult>> {
-
-    }
-
-    /**
-     * 唯一标识符
-     */
-    private String id;
-
-    /**
-     * 创建时间
-     */
-    private String createTime;
-
-    /**
-     * 图标标识
-     */
-    private String icon;
-
-    /**
-     * 状态
-     */
-    private Integer status;
-
-    /**
-     * 名称
-     */
-    private String name;
-
-    /**
-     * 标题
-     */
-    private String title;
-
-    /**
-     * 描述
-     */
-    private String description;
-}

+ 0 - 11
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/repository/ChengTaiLoginSessionRepository.java

@@ -1,11 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.repository;
-
-import com.jzg.quotation.chengtai.crawler.model.entity.ChengTaiSession;
-import org.springframework.data.mongodb.repository.MongoRepository;
-import org.springframework.data.mongodb.repository.Query;
-
-public interface ChengTaiLoginSessionRepository extends MongoRepository<ChengTaiSession, String> {
-
-    @Query("{'username' : ?0}")
-    ChengTaiSession findByUsername(String username);
-}

+ 0 - 11
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/repository/ChengTaiPremiumcalRepository.java

@@ -1,11 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.repository;
-
-import com.jzg.quotation.chengtai.crawler.model.param.ChengTaiPremiumcalParam;
-import org.springframework.data.mongodb.repository.MongoRepository;
-import org.springframework.data.mongodb.repository.Query;
-
-public interface ChengTaiPremiumcalRepository extends MongoRepository<ChengTaiPremiumcalParam, String> {
-
-    @Query("{'ordersNo' : ?0}")
-    ChengTaiPremiumcalParam findByOrdersNo(String ordersNo);
-}

+ 0 - 373
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/service/ChengTaiAPIService.java

@@ -1,373 +0,0 @@
-package com.jzg.quotation.chengtai.crawler.service;
-
-import com.google.common.collect.Maps;
-import com.jzg.quotation.chengtai.crawler.JsonUtil;
-import com.jzg.quotation.chengtai.crawler.client.ChengTaiAPI;
-import com.jzg.quotation.chengtai.crawler.client.EncryptRSA;
-import com.jzg.quotation.chengtai.crawler.model.entity.*;
-import com.jzg.quotation.chengtai.crawler.model.param.*;
-import com.jzg.quotation.chengtai.crawler.model.result.*;
-import com.jzg.quotation.commons.component.RequestComponent;
-import jakarta.annotation.Resource;
-import lombok.RequiredArgsConstructor;
-import org.apache.commons.collections4.CollectionUtils;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.springframework.core.io.ByteArrayResource;
-import org.springframework.http.HttpHeaders;
-import org.springframework.http.ResponseEntity;
-import org.springframework.stereotype.Service;
-import org.springframework.util.LinkedMultiValueMap;
-import org.springframework.util.MultiValueMap;
-
-import java.util.Collections;
-import java.util.List;
-import java.util.Map;
-import java.util.UUID;
-
-@Service
-@RequiredArgsConstructor
-public class ChengTaiAPIService {
-
-    private final RequestComponent requestComponent;
-
-    private <T> T post(ChengTaiAPI api, Object body, Class<T> resultClass, HttpHeaders headers) {
-        if (headers != null) {
-            headers.add("traceid", UUID.randomUUID().toString());
-        }
-        String paramString = JsonUtil.toJsonString(body);
-        ResponseEntity<String> responseEntity = requestComponent.post(api.url(), paramString, String.class, headers);
-        String responseEntityBody = responseEntity.getBody();
-        T objcet = JsonUtil.readObjcet(responseEntityBody, resultClass);
-        return objcet;
-    }
-
-    /**
-     * 查询险种
-     *
-     * @param headers 请求头
-     * @return 险种
-     */
-    public List<ChengTaiDictionary> findDictionaryOfRisk(HttpHeaders headers) {
-        ChengTaiFindDictionaryResult.Response result = post(ChengTaiAPI.FindDictionaryOfRisk, null, ChengTaiFindDictionaryResult.Response.class, headers);
-        return result.getBody();
-    }
-
-    /**
-     * 查询登录用户信息
-     *
-     * @param headers 请求头
-     * @return 登录用户信息
-     */
-    public ChengTaiQueryLoginUserInfoResult queryLoginUserInfo(HttpHeaders headers) {
-        ChengTaiQueryLoginUserInfoResult.Response result = post(ChengTaiAPI.QueryLoginUserInfo, null, ChengTaiQueryLoginUserInfoResult.Response.class, headers);
-        return result.getBody();
-    }
-
-    /**
-     * 查询登录用户可用的业务归属机构
-     *
-     * @param headers 请求头
-     * @return 业务归属机构
-     */
-    public List<ChengTaiFindAttributionOrgByUserResult> findAttributionOrgByUser(HttpHeaders headers) {
-        ChengTaiFindAttributionOrgByUserResult.Response result = post(ChengTaiAPI.FindAttributionOrgByUser, null, ChengTaiFindAttributionOrgByUserResult.Response.class, headers);
-        return result.getBody();
-    }
-
-    public List<ChengTaiFindSaleManVoByDeptCodeResult> findSaleManVoByDeptCode(HttpHeaders headers, String deptCode, String isOuter, List<String> riskCodes) {
-        ChengTaiFindSaleManVoByDeptCodeParam param = new ChengTaiFindSaleManVoByDeptCodeParam();
-        param.setDeptCode(deptCode);
-        param.setIsOuter(isOuter);
-        param.setRiskCodes(riskCodes);
-        ChengTaiFindSaleManVoByDeptCodeResult.Response result = post(ChengTaiAPI.FindSaleManVoByDeptCode, param, ChengTaiFindSaleManVoByDeptCodeResult.Response.class, headers);
-        return result.getBody();
-    }
-
-    public ChengTaiQueryRiskAuthorityResult queryRiskAuthority(HttpHeaders headers, String saleCode, String subAgreementCode) {
-        Map<String, String> param = Maps.newHashMapWithExpectedSize(2);
-        param.put("saleCode", saleCode);
-        param.put("subAgreementCode", subAgreementCode);
-        ChengTaiQueryRiskAuthorityResult.Response result = post(ChengTaiAPI.QueryRiskAuthority, param, ChengTaiQueryRiskAuthorityResult.Response.class, headers);
-        return result.getBody();
-    }
-
-    /**
-     * 查询务人员可用的中介协议和代理机构
-     *
-     * @param headers
-     * @param saleCode
-     * @param riskCodes
-     * @return
-     */
-    public ChengTaiFindCoreConferInfoByHandleCodeResult findCoreConferInfoByHandleCode(HttpHeaders headers, String saleCode, List<String> riskCodes) {
-        Map<String, Object> param = Maps.newHashMapWithExpectedSize(2);
-        param.put("saleCode", saleCode);
-        param.put("riskCodes", riskCodes);
-        ChengTaiFindCoreConferInfoByHandleCodeResult.Response result = post(ChengTaiAPI.FindCoreConferInfoByHandleCode, null, ChengTaiFindCoreConferInfoByHandleCodeResult.Response.class, headers);
-        return result.getBody();
-    }
-
-    public ChengTaiQueryVehicleListResult queryVehicleList(HttpHeaders headers) {
-        ChengTaiQueryVehicleListResult.Response result = post(ChengTaiAPI.QueryVehicleList, null, ChengTaiQueryVehicleListResult.Response.class, headers);
-        if (result == null) {
-            return null;
-        }
-        ChengTaiQueryVehicleListResult body = result.getBody();
-        if (body == null) {
-            return null;
-        }
-        List<ChengTaiJqxclassidDic> jqxclassidDic = body.getJqxclassidDic();
-        if (CollectionUtils.isNotEmpty(jqxclassidDic)) {
-            jqxclassidDic.forEach(jqxclassid -> {
-                String extdata = jqxclassid.getExtdata();
-
-                if (extdata != null) {
-                    ChengTaiJqxclassidDicExtData extData = JsonUtil.readObjcet(extdata, ChengTaiJqxclassidDicExtData.class);
-                    //jqxclassid.setExtData(extData);
-                }
-            });
-        }
-
-        return body;
-    }
-
-    /**
-     * 根据车牌号、车架号查询车型
-     *
-     * @param comCode 业务归属机构代码,比如 0105040012   <== 太原中心支公司公司业务部
-     * @param plateNo 车牌号
-     * @param vinCode 车架号
-     * @return
-     */
-    public ChengTaiQueryCarInfoResult queryCarInfo(HttpHeaders headers, String comCode, String plateNo, String vinCode) {
-        if (plateNo == null || plateNo.isBlank()) {
-            plateNo = "新车上牌";
-        }
-
-        Map<String, String> param = Maps.newHashMapWithExpectedSize(3);
-
-        param.put("comCode", comCode);
-        param.put("plateNo", plateNo);
-        param.put("vinCode", vinCode);
-        ChengTaiQueryCarInfoResult.Response result = post(ChengTaiAPI.QueryCarInfo, param, ChengTaiQueryCarInfoResult.Response.class, headers);
-        return result.getBody();
-
-    }
-
-    /**
-     * 根据车牌号、车架号查询车型
-     *
-     * @param headers
-     * @param modelCode 车型编号
-     * @return
-     */
-    public ChengTaiFindCarModelResult findCarModel(HttpHeaders headers, String modelCode) {
-        Map<String, String> param = Maps.newHashMapWithExpectedSize(3);
-        param.put("modelcode: ", modelCode);
-        param.put("pageNo", "1");
-        param.put("pageSize", "100");
-        ChengTaiFindCarModelResult.Response result = post(ChengTaiAPI.FindCarModel, param, ChengTaiFindCarModelResult.Response.class, headers);
-        return result.getBody();
-
-    }
-
-    /**
-     * 身份识别
-     *
-     * @param applicant
-     * @return
-     */
-    public ChengTaiApplicant clientIdentify(HttpHeaders headers, ChengTaiApplicant applicant) {
-        ChengTaiClientIdentifyResult.Response response = post(ChengTaiAPI.ClientIdentify, applicant, ChengTaiClientIdentifyResult.Response.class, headers);
-        return response.getBody();
-    }
-
-    /**
-     * 保存
-     *
-     * @param headers
-     * @param param
-     * @return
-     */
-    public ChengTaiSaveResult save(HttpHeaders headers, ChengTaiPremiumcalParam param) {
-        ChengTaiSaveResult.Response response = post(ChengTaiAPI.Save, param, ChengTaiSaveResult.Response.class, headers);
-        return response.getBody();
-    }
-
-    /**
-     * 保费计算
-     *
-     * @param headers
-     * @param param
-     * @return
-     */
-    public ChengTaiPremiumcalResult premiumcal(HttpHeaders headers, ChengTaiPremiumcalParam param) {
-        ChengTaiPremiumcalResult.Response result = post(ChengTaiAPI.Premiumcal, param, ChengTaiPremiumcalResult.Response.class, headers);
-        return result.getBody();
-    }
-
-    public ChengTaiSubmitResult submit(HttpHeaders headers, ChengTaiPremiumcalParam param) {
-        ChengTaiSubmitResult.Response result = post(ChengTaiAPI.Submit, param, ChengTaiSubmitResult.Response.class, headers);
-        return result.getBody();
-    }
-
-    /**
-     * 上传影像
-     *
-     * @param headers
-     * @param param
-     * @return
-     */
-    public ChengTaiImageUploadResult imageUpload(HttpHeaders headers, byte[] file, ChengTaiImageUploadParam param) {
-
-        MultiValueMap<String, Object> formData = new LinkedMultiValueMap<>();
-        formData.add("uploadVo", param);
-        formData.add("files", new ByteArrayResource(file) {
-            @Override
-            public String getFilename() {
-                return "originalFilename";
-            }
-        });
-
-        ResponseEntity<String> responseEntity = requestComponent.formData(ChengTaiAPI.ImageUpload.url(), formData, String.class, headers);
-        String responseEntityBody = responseEntity.getBody();
-        ChengTaiImageUploadResult.Response result = JsonUtil.readObjcet(responseEntityBody, ChengTaiImageUploadResult.Response.class);
-        return result.getBody();
-    }
-
-    public String login(String username, String password, String captcha) {
-        MultiValueMap<String, String> param = new LinkedMultiValueMap<>();
-        param.add("username", username);
-
-        if (password != null) {
-            try {
-                String encrypt = EncryptRSA.encrypt(password);
-                param.add("password", encrypt);
-            } catch (Exception e) {
-                throw new RuntimeException(e);
-            }
-        }
-
-        param.add("captchaVerification", captcha);
-
-        ResponseEntity<String> responseEntity = requestComponent.form(ChengTaiAPI.LOGIN.url(), param, String.class, null);
-
-        String responseEntityBody = responseEntity.getBody();
-
-        ChengTaiLoginResult.Response result = JsonUtil.readObjcet(responseEntityBody, ChengTaiLoginResult.Response.class);
-
-        Integer code = result.getCode();
-
-        if (code == 200) {
-            return result.getBody();
-        }
-
-        throw new RuntimeException("登录失败! code:" + code  + " message:" + result.getMessage());
-
-    }
-
-    public ChengTaiSystemResult system(HttpHeaders headers) {
-        MultiValueMap<String, String> param = new LinkedMultiValueMap<>();
-        ChengTaiSystemResult.Response response = requestComponent.get(ChengTaiAPI.System.url(), param, null, ChengTaiSystemResult.Response.class, headers);
-        List<ChengTaiSystemResult> body = response.getBody();
-
-        if (body == null || body.isEmpty()) {
-            return null;
-        }
-
-        return body.get(0);
-    }
-
-    public boolean findAreaConfig(HttpHeaders headers) {
-        MultiValueMap<String, String> param = new LinkedMultiValueMap<>();
-        ChengTaiFindAreaConfigResult.Response response = requestComponent.get(ChengTaiAPI.FindAreaConfig.url(), param, null, ChengTaiFindAreaConfigResult.Response.class, headers);
-
-        if (response == null) {
-            return false;
-        }
-
-        Integer code = response.getCode();
-
-        if (code == null) {
-            return false;
-        }
-
-        if (code == 200) {
-            return true;
-        }
-
-        return false;
-    }
-
-    /**
-     * 获取详情
-     *
-     * @param headers 请求头
-     * @param orderId
-     * @return
-     */
-    public ChengTaiPremiumcalParam getPolicyModel(HttpHeaders headers, String orderId) {
-        MultiValueMap<String, String> param = new LinkedMultiValueMap<>();
-        param.add("orderId", orderId);
-        param.add("businessType", "POLICY");
-
-        ResponseEntity<ChengTaiGetPolicyModelResult.Response> form = requestComponent.form(ChengTaiAPI.GetPolicyModel.url(), param, ChengTaiGetPolicyModelResult.Response.class, headers);
-
-        ChengTaiGetPolicyModelResult.Response response = form.getBody();
-
-        return response.getBody();
-
-    }
-
-    /**
-     * 获取支付链接
-     *
-     * @param headers 请求头
-     * @param uuid
-     * @return 就是多个值
-     */
-    public List<ChengTaiInsureResult> insure(HttpHeaders headers, String uuid) {
-        MultiValueMap<String, String> param = new LinkedMultiValueMap<>();
-        ChengTaiInsureResult.Response response = requestComponent.get(ChengTaiAPI.Insure.url().replace("{uuid}", uuid), param, null, ChengTaiInsureResult.Response.class, headers);
-        return response.getBody();
-
-    }
-
-    /**
-     * 获取保单下载链接
-     *
-     * @param headers 请求头
-     * @param contractNo
-     * @param policyUuid
-     * @return
-     */
-    public ChengTaiDownloadAddressResult downloadAddress(HttpHeaders headers, String contractNo, String policyUuid, String expiryDate) {
-        ChengTaiDownloadAddressParam param = new ChengTaiDownloadAddressParam();
-        param.setBusinessType("C");
-        param.setPolicyUuid(policyUuid);
-        param.setContractNo(contractNo);
-        param.setValidDate(expiryDate);
-        ChengTaiDownloadAddressResult.Response response = post(ChengTaiAPI.DownloadAddress, param, ChengTaiDownloadAddressResult.Response.class, headers);
-        return response.getBody();
-
-    }
-
-    /**
-     * 获取意外险
-     *
-     * @param headers 请求头
-     * @return
-     */
-    public List<ChengTaiAccidentInsurance> hygeiaGet(HttpHeaders headers) {
-        ChengTaiHygeiaGetParam param = new ChengTaiHygeiaGetParam();
-        param.setComCode("0105");
-        param.setSeat(5);
-        param.setRiskCode("1158");
-        param.setCarKindCode("A0");
-        param.setUseNatureCode("8A");
-        ChengTaiHygeiaGetResult.Response response = post(ChengTaiAPI.HygeiaGet, param, ChengTaiHygeiaGetResult.Response.class, headers);
-        return response.getBody();
-
-    }
-}

+ 14 - 0
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/service/ChengTaiCrawlerQuoteProcessService.java

@@ -1,5 +1,7 @@
 package com.jzg.quotation.chengtai.crawler.service;
 
+import com.jzg.commons.entity.quote.vo.AttributionInformationVo;
+import com.jzg.quotation.chengtai.crawler.entity.ChengTaiCrawlerConfigureParameters;
 import org.springframework.http.HttpHeaders;
 
 /**
@@ -23,8 +25,20 @@ public interface ChengTaiCrawlerQuoteProcessService {
     /**
      * 获取token
      *
+     * @param username 用户名
+     * @param password 密码
      * @return 请求头
      */
     HttpHeaders getTokenHeaders(String username, String password);
 
+
+    /**
+     * 构建客户识别信息
+     *
+     * @param parameters 归属配置参数
+     * @param headers    请求头
+     */
+    void buildClientIdentify(ChengTaiCrawlerConfigureParameters parameters, HttpHeaders headers);
+
+
 }

+ 8 - 0
tenant/insurance/quotation-chengtai/src/main/java/com/jzg/quotation/chengtai/crawler/service/ChengTaiCrawlerRequest.java

@@ -0,0 +1,8 @@
+package com.jzg.quotation.chengtai.crawler.service;
+
+import com.jzg.quotation.commons.service.QuotationCrawlerBaseService;
+
+public interface ChengTaiCrawlerRequest extends QuotationCrawlerBaseService {
+
+
+}

Некоторые файлы не были показаны из-за большого количества измененных файлов