From 825f0f315b435bc9f3336cca2394848dbf67423a Mon Sep 17 00:00:00 2001 From: zhaohengkun Date: Sat, 12 Oct 2024 18:11:36 +0800 Subject: [PATCH] 1 --- .../java/com/fuint/pay/service/impl/PayCenterServiceImpl.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/pay/service/impl/PayCenterServiceImpl.java b/fuintBackend/fuint-application/src/main/java/com/fuint/pay/service/impl/PayCenterServiceImpl.java index d26778447..f1f0ad805 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/pay/service/impl/PayCenterServiceImpl.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/pay/service/impl/PayCenterServiceImpl.java @@ -1201,6 +1201,10 @@ public class PayCenterServiceImpl implements PayCenterService { * @date 13:57 2024/9/25 **/ private Boolean checkTimeCouponPrex(CardCouponVO rule, Date nowDate) { + + if (rule.getAvailableDay() ==null && rule.getAvailableWeek() == null){ + return true; + } String startTimeStr; String endTimeStr; if ("0".equals(rule.getAvailableOrUn())) {