wks před 2 roky
rodič
revize
57fad48a29

+ 4 - 1
src/main/java/com/ydtech/modules/order/components/gouren/GuorenDuplicateInsuranceComponent.java

@@ -137,7 +137,10 @@ public class GuorenDuplicateInsuranceComponent {
                 PremiumReq.CiDTO ci = req.getCi();
                 ci.setTrafficTime(jqEndDate);
             }
-            return true;
+            if (StringUtils.isNotEmpty(jqEndDate) || StringUtils.isNotEmpty(syEndDate)) {
+                return true;
+            }
+            return false;
         }
 
         return false;