This commit is contained in:
zhaohengkun 2024-10-12 18:11:36 +08:00
parent 217fdd006e
commit 825f0f315b

View File

@ -1201,6 +1201,10 @@ public class PayCenterServiceImpl implements PayCenterService {
* @date 13:57 2024/9/25 * @date 13:57 2024/9/25
**/ **/
private Boolean checkTimeCouponPrex(CardCouponVO rule, Date nowDate) { private Boolean checkTimeCouponPrex(CardCouponVO rule, Date nowDate) {
if (rule.getAvailableDay() ==null && rule.getAvailableWeek() == null){
return true;
}
String startTimeStr; String startTimeStr;
String endTimeStr; String endTimeStr;
if ("0".equals(rule.getAvailableOrUn())) { if ("0".equals(rule.getAvailableOrUn())) {