Forráskód Böngészése

众安时间修改

Qchen 3 hónapja
szülő
commit
4687e9c0bd

+ 8 - 8
tenant/insurance/quotation-zhongan/src/main/java/com/jzg/quotation/zhongan/crawler/build/ZhongAnCrawlerQuoteResultsVoBuild.java

@@ -45,19 +45,19 @@ public class ZhongAnCrawlerQuoteResultsVoBuild {
 
     public static RiskInfoVo buildCiRiskInfoVo(ZhongAnCrawlerQuoteResponse.ValueDTO.DataDTO dataDTO, QuoteVo quoteVo) {
         RiskInfoVo riskInfoVo = new RiskInfoVo();
-        Long businessInsEffectiveDate = dataDTO.getVehiclePremium().getBusinessInsEffectiveDate();
-        Long businessExpireDate = dataDTO.getVehiclePremium().getBusinessExpireDate();
-        riskInfoVo.setStartDate(DateUtil.formatDateTime(DateUtil.date(businessInsEffectiveDate)));
-        riskInfoVo.setEndDate(DateUtil.formatDateTime(DateUtil.date(businessExpireDate)));
+        Long compelInsEffectiveDate = dataDTO.getVehiclePremium().getCompelInsEffectiveDate();
+        Long compelExpireDate = dataDTO.getVehiclePremium().getCompelExpireDate();
+        riskInfoVo.setStartDate(DateUtil.formatDateTime(DateUtil.date(compelInsEffectiveDate)));
+        riskInfoVo.setEndDate(DateUtil.formatDateTime(DateUtil.date(compelExpireDate)));
         return riskInfoVo;
     }
 
     public static RiskInfoVo buildBiRiskInfoVo(ZhongAnCrawlerQuoteResponse.ValueDTO.DataDTO dataDTO, QuoteVo quoteVo) {
         RiskInfoVo riskInfoVo = new RiskInfoVo();
-        Long compelInsEffectiveDate = dataDTO.getVehiclePremium().getCompelInsEffectiveDate();
-        Long compelExpireDate = dataDTO.getVehiclePremium().getCompelExpireDate();
-        riskInfoVo.setStartDate(DateUtil.formatDateTime(DateUtil.date(compelInsEffectiveDate)));
-        riskInfoVo.setEndDate(DateUtil.formatDateTime(DateUtil.date(compelExpireDate)));
+        Long businessInsEffectiveDate = dataDTO.getVehiclePremium().getBusinessInsEffectiveDate();
+        Long businessExpireDate = dataDTO.getVehiclePremium().getBusinessExpireDate();
+        riskInfoVo.setStartDate(DateUtil.formatDateTime(DateUtil.date(businessInsEffectiveDate)));
+        riskInfoVo.setEndDate(DateUtil.formatDateTime(DateUtil.date(businessExpireDate)));
         return riskInfoVo;
     }