wks 2 лет назад
Родитель
Сommit
cc0b4fa5f5
1 измененных файлов с 8 добавлено и 8 удалено
  1. 8 8
      src/main/java/com/ydtech/modules/ins/model/guoren/PremiumReq.java

+ 8 - 8
src/main/java/com/ydtech/modules/ins/model/guoren/PremiumReq.java

@@ -11,8 +11,10 @@ import com.ydtech.constants.enums.InsuranceRisk;
 import com.ydtech.modules.ins.model.vo.CustomerInfoVo;
 import com.ydtech.modules.ins.model.vo.KindInfoVo;
 import com.ydtech.modules.ins.model.vo.RiskInfoVo;
-import com.ydtech.modules.order.entity.api.guoren.constants.*;
-import com.ydtech.modules.order.entity.api.zijin.request.CalculatePremiumRequest;
+import com.ydtech.modules.order.entity.api.guoren.constants.BaseTaxation;
+import com.ydtech.modules.order.entity.api.guoren.constants.ClauseTypeSystem;
+import com.ydtech.modules.order.entity.api.guoren.constants.FuelType;
+import com.ydtech.modules.order.entity.api.guoren.constants.RelifReason;
 import com.ydtech.modules.order.entity.vo.BaseQuoteInfoVo;
 import com.ydtech.modules.order.entity.vo.VehicleAndVesselTax;
 import com.ydtech.modules.order.entity.vo.guoren.GuoRenSpecialAgreementVo;
@@ -63,7 +65,7 @@ public class PremiumReq {
      * @date: 2023年08月14日 0014
      */
     @JsonIgnore
-    public static PremiumReq  buildQuoteParam(BaseQuoteInfoVo yaQuoteInfoVo, CarPriceResp.DataDTO carPriceResult,
+    public static PremiumReq buildQuoteParam(BaseQuoteInfoVo yaQuoteInfoVo, CarPriceResp.DataDTO carPriceResult,
                                              VinQueryResp.DataDTO vinQ, boolean isNoCar,
                                              List<GuoRenSpecialAgreementVo> specialAgreementVo) {
 
@@ -119,8 +121,7 @@ public class PremiumReq {
      */
     @JsonIgnore
     public static CiDTO buildCiDto(VehicleAndVesselTax vehicleAndVesselTax, CustomerInfoVo ownerInfo, RiskInfoVo ciRiskInfo,
-                                   boolean isNoCar,
-                                   List<GuoRenSpecialAgreementVo> specialAgreementVo) {
+                                   boolean isNoCar, List<GuoRenSpecialAgreementVo> specialAgreementVo) {
         CiDTO ciDto = new CiDTO();
         ciDto.setPrpTrenewal(new ArrayList<>());
         ciDto.setPrpTmainRate(new CiDTO.PrpTmainRateDTO());
@@ -870,7 +871,7 @@ public class PremiumReq {
                 this.taxRelifFlag = flag.getCode();
 
                 //返回空
-                if(!"".equals(vehicleAndVesselTax.getRelifReason())) {
+                if (!"".equals(vehicleAndVesselTax.getRelifReason())) {
                     RelifReason reason = Enum.valueOf(RelifReason.class, RelifReason.TITLE + vehicleAndVesselTax.getRelifReason());
                     this.relifReason = reason.getCode();
 
@@ -888,7 +889,6 @@ public class PremiumReq {
                 }
 
 
-
                 this.paidFreeCertificate = vehicleAndVesselTax.getPaidFreeCertificate();
                 this.taxComName = vehicleAndVesselTax.getTaxComName();
                 this.taxComCode = vehicleAndVesselTax.getTaxComCode();
@@ -1067,7 +1067,7 @@ public class PremiumReq {
                 this.getPrpTmain().setImmeValiFlag("1");
 
             } else {
-                LocalDateTime end = start.plusYears(1L).minusDays(1L);;
+                LocalDateTime end = start.plusYears(1L).minusDays(1L);
                 newStartDate = DateTimeUtil.getStartTimeOfDayStr(start, DateTimeUtil.DATETIME_PATTERN);
                 newEndDate = DateTimeUtil.getEndTimeOfDayStr(end, DateTimeUtil.DATETIME_PATTERN);
             }