wlq пре 1 година
родитељ
комит
7959bb2f3f

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

@@ -40,7 +40,7 @@ public class SaveBasicInfoParam extends OrderRequest {
     /**
      * 车税信息
      */
-    private TKCarTax TKCarTaxVo;
+    private TKCarTax carTaxVo;
     /**
      * 认证失败继续标志
      */
@@ -57,6 +57,7 @@ public class SaveBasicInfoParam extends OrderRequest {
         addChildUnknownField("otherInfo", otherInfo);
         addChildUnknownField("insureInfo", insureInfo);
         addChildUnknownField("areaInfoVo", areaInfoVo);
+        addChildUnknownField("carTaxVo", carTaxVo);
     }
 
     @Setter

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

@@ -745,7 +745,7 @@ public class TKSimpleService {
         param.setAreaInfoVo(tkAreaInfoVo);
         param.setCarInfoVo(car);
         param.setCarOwnerVo(carOwnerVo);
-        param.setTKCarTaxVo(carTax);
+        param.setCarTaxVo(carTax);
         param.setOtherInfo(otherInfo);
 
 

+ 20 - 20
tenant/insurance/quotation-taikang/src/test/data/A.json

@@ -40,64 +40,64 @@
           "importFlag": "合资",
           "displacement": "1.498",
           "marketDate": "201703",
-          "vehicleClassCode": "IC02",
           "tonnage": "0.00",
+          "vehicleClassCode": "IC02",
           "jqxClassName": "六座以下客车",
           "power": "142",
           "vehicleAlias": "冠道240TURBO CVT两驱精英版",
           "vehicleHyCode": "BGQEGAUC0003",
-          "syxClassName": "六座以下客车",
           "seatMin": "5",
+          "syxClassName": "六座以下客车",
           "importFlagCode": "1",
           "kindredPriceTax": 0,
           "brandName": "广汽本田",
           "familyCode": "BTA1AS",
           "jqxClassId": "KA",
           "fullWeightMax": "1708.000",
-          "vehicleCode": "BTABGD0009",
           "factoryName": "广汽本田汽车有限公司",
-          "vehicleClassName": "越野车类",
+          "vehicleCode": "BTABGD0009",
           "seat": "5",
+          "vehicleClassName": "越野车类",
           "vehicleHyName": "本田GHA6480KAC5A 精英版",
           "powerTypeCode": "D1",
-          "kindredPrice": 0,
+          "powerType": "汽油",
           "fullWeight": "1708",
+          "kindredPrice": 0,
           "taxPrice": 220350,
           "syxClassId": "KA",
           "fullWeightMin": "1708.000",
-          "hfCode": "0",
-          "powerType": "汽油"
+          "hfCode": "0"
         },
         "marketYear": "201703",
         "brandCN": "广汽本田",
-        "replacementValue": 203000,
         "modelName": "本田GHA6480KAC5A多用途乘用车",
         "fuelType": "0",
-        "ratedPassengerCapacity": 0,
         "modelCode": "BTABGD0009",
         "series": "冠道",
+        "replacementValue": 203000,
+        "ratedPassengerCapacity": 0,
         "airbagNum": 0,
-        "tonnage": 0,
         "displacement": 1498,
-        "industryModelName": "本田GHA6480KAC5A 精英版",
-        "industryModelCode": "BGQEGAUC0003"
+        "tonnage": 0,
+        "industryModelCode": "BGQEGAUC0003",
+        "industryModelName": "本田GHA6480KAC5A 精英版"
       }
     ],
     "licenseType": "02",
-    "licenseTypeChinese": "小型汽车号牌",
     "licenseNo": "晋K7059T",
     "purchasePrice": "203000",
     "exhaustScale": "1498",
-    "seatFlag": 1
+    "seatFlag": 1,
+    "licenseTypeChinese": "小型汽车号牌"
   },
   "carOwnerVo": {
-    "carOwnerNature": "1",
     "birthDate": "1983-03-14",
+    "sex": 2,
     "name": "刘书君",
     "id": "372501198303144024",
+    "carOwnerNature": "1",
     "certificateType": "01",
     "serialno": "0",
-    "sex": 2,
     "insuredAddress": ""
   },
   "otherInfo": {
@@ -120,16 +120,16 @@
   "authFailContinueFlag": "",
   "areaInfoVo": {
     "agent": {
-      "comCode": "0114",
-      "intermediaryName": "泰康人寿(个险)(64827)",
-      "agentCode": "R35016546",
       "agentName": "褚友爱",
+      "agentCode": "R35016546",
       "agencyName": "山西分公司",
       "agencyCode": "R10115",
       "agentPhone": "13613412686",
       "status": "1",
+      "comCode": "0114",
+      "fromID": "64827",
       "intermediaryCode": "000000000004",
-      "fromID": "64827"
+      "intermediaryName": "泰康人寿(个险)(64827)"
     },
     "channelCode": "OffWeb",
     "bjFlag": 0,

+ 10 - 11
tenant/insurance/quotation-taikang/src/test/data/B.json

@@ -64,22 +64,22 @@
           "hfCode": "0"
         },
         "licenseNo": "晋K7059T",
+        "licenseType": "02",
+        "purchasePrice": "203000.0",
+        "carYear": "201703",
         "marketYear": "201703",
         "brandCN": "广汽本田",
-        "replacementValue": 203000.0,
-        "licenseType": "02",
         "modelName": "本田GHA6480KAC5A多用途乘用车",
         "fuelType": "0",
-        "ratedPassengerCapacity": 0.0,
         "modelCode": "BTABGD0009",
         "series": "冠道",
+        "replacementValue": 203000.0,
+        "ratedPassengerCapacity": 0.0,
         "airbagNum": 0.0,
         "displacement": 1498.0,
-        "industryModelName": "本田GHA6480KAC5A 精英版",
         "tonnage": 0.0,
         "industryModelCode": "BGQEGAUC0003",
-        "purchasePrice": "203000.0",
-        "carYear": "201703"
+        "industryModelName": "本田GHA6480KAC5A 精英版"
       }
     ],
     "licenseTypeChinese": "小型汽车号牌"
@@ -106,14 +106,17 @@
     "contacts": {},
     "insuredInfo": {}
   },
+  "tkcarTaxVo": {
+    "isPayTax": "1"
+  },
   "authFailContinueFlag": "",
   "areaInfoVo": {
     "agent": {
       "agentName": "褚友爱",
       "agentCode": "R35016546",
-      "agentPhone": "13613412686",
       "agencyName": "褚友爱",
       "agencyCode": "13613412686",
+      "agentPhone": "13613412686",
       "status": "1",
       "comCode": "0114",
       "fromID": "64827",
@@ -121,7 +124,6 @@
       "intermediaryName": "泰康人寿(个险)(64827)"
     },
     "channelCode": "OffWeb",
-    "orderID": "WBPC202503211734162480000",
     "bjFlag": 0,
     "licenseNo": "晋K7059T",
     "isNewCarWithoutLicense": 0,
@@ -136,8 +138,5 @@
     "formID": "67107",
     "tplatformId": "feda77e829d4dedbbd8b4e236bacfac5",
     "leadsId": ""
-  },
-  "tkcarTaxVo": {
-    "isPayTax": "1"
   }
 }

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

@@ -827,7 +827,7 @@ public class TKHttpAPIServiceTest1 {
         param.setCarOwnerVo(carOwner);
         param.setOtherInfo(otherInfo);
         param.setInsureInfo(insureInfo);
-        param.setTKCarTaxVo(TKCarTax);
+        param.setCarTaxVo(TKCarTax);
         param.setTplatformId(tplatformId);
         param.setAuthFailContinueFlag("");
         param.setFromId(fromid);