wks vor 2 Jahren
Ursprung
Commit
a53e673cef

+ 4 - 0
src/main/java/com/ydtech/modules/ins/model/vo/CarInfoVo.java

@@ -96,6 +96,10 @@ public class CarInfoVo {
 
     @ApiModelProperty(value = "是否过户")
     private boolean transferFlag;
+
+    @ApiModelProperty(value = "商业是否过户")
+    private boolean transferFlagBi;
+
     /**
      * 国寿app
      *

+ 12 - 3
src/main/java/com/ydtech/modules/order/entity/api/huatai/request/HuaTaiQuotedPriceRequest.java

@@ -291,13 +291,20 @@ public class HuaTaiQuotedPriceRequest extends HuaTaiBaseRequest {
                     this.engine = carInfoVo.getEngineNo();
                     this.ecdemicVehicleFlag = false;
                     if (carInfoVo.isTransferFlag()) {
-                        this.chgOwnerFlag = "1";
                         this.specialCarFlag = "1";
                         this.transferDate = carInfoVo.getTransferDate() + " " + TimeConstants.START_TIME;
                     } else {
-                        this.chgOwnerFlag = "0";
+
                         this.specialCarFlag = "";
                     }
+
+                    if (carInfoVo.isTransferFlagBi()) {
+                        this.chgOwnerFlag = "1";
+                        this.transferDate = carInfoVo.getTransferDate() + " " + TimeConstants.START_TIME;
+                    } else {
+                        this.chgOwnerFlag = "0";
+                    }
+
                     this.vin = carInfoVo.getFrameNo();
                     this.loanStatus = "0";
                     this.modelName = fullCarDataDto.getModelName();
@@ -310,7 +317,7 @@ public class HuaTaiQuotedPriceRequest extends HuaTaiBaseRequest {
                     this.colorCode = null;
                     this.carCheckStatus = "2";
                     this.vehicleCondition = "0";
-                    this.vehicleType = "K33";
+                    this.vehicleType = carInfoVo.getCartype();
                     this.registModelCode = fullCarDataDto.getModelName();
                     this.plateColorCode = "01";
                 }
@@ -319,6 +326,7 @@ public class HuaTaiQuotedPriceRequest extends HuaTaiBaseRequest {
             @NoArgsConstructor
             @Data
             public static class SimpleStadarCarDto implements Serializable {
+                private static final long serialVersionUID = 1260421320708015158L;
                 //Y	行业车型编码
                 @JSONField(name = "modelCode")
                 private String modelCode;
@@ -349,6 +357,7 @@ public class HuaTaiQuotedPriceRequest extends HuaTaiBaseRequest {
         @NoArgsConstructor
         @Data
         public static class SaleInfoDto implements Serializable {
+            private static final long serialVersionUID = -8717559068867090498L;
             //Y	代理人代码
             @JSONField(name = "agentCode")
             private String agentCode;