wks 3 лет назад
Родитель
Сommit
1e92b2c8f3

+ 7 - 7
src/main/java/com/ydtech/modules/order/entity/api/zj/request/CalculatePremiumRequest.java

@@ -721,22 +721,23 @@ public class CalculatePremiumRequest implements Serializable {
         @JsonProperty("isInvokeJingYou")
         private String isInvokeJingYou;
 
-        /**
-         * 交强险过户日期
-         */
-        @JsonProperty("makeDateJQ")
-        private String makeDateJQ;
+//        /**
+//         * 交强险过户日期
+//         */
+//        @JsonProperty("makeDateJQ")
+//        private String makeDateJQ;
 
 
         public VehicleInfoDTO(CarInfoVo carInfo, ModelQueryResponse.VehicleModelInfosDTO vehicleModelInfosDTO, String actualValue) {
             this.actualValue = actualValue;
             this.agreeActualValue = actualValue;
             if (carInfo.isTransferFlag()) {
+                this.carLoanFlag = "1";
                 this.chgOwnerFlag = "1";
                 this.makeDate = carInfo.getIssueDate();
-                this.makeDateJQ = carInfo.getIssueDate();
             } else {
                 this.chgOwnerFlag = "0";
+                this.carLoanFlag = "0";
             }
             this.engineNo = carInfo.getEngineNo();
             this.enrollDate = carInfo.getRegisterDate();
@@ -755,7 +756,6 @@ public class CalculatePremiumRequest implements Serializable {
             this.carInsuredRelation = "1";
             this.carKindCode = "A0";
             this.carKindDetailId = getCarKindDetailId(Integer.parseInt(carInfo.getSeatCount()));
-            this.carLoanFlag = "0";
             this.exhaustCapacity = vehicleModelInfosDTO.getExhaustCapacity();
             this.oriCarKindName = carInfo.getCartype();