fix:时间校验

This commit is contained in:
xiang
2025-10-13 10:22:25 +08:00
parent 589b558924
commit ffb7d8c584

View File

@@ -105,11 +105,11 @@ public class DateUtils {
}
if (StringUtils.isEmpty(status)) {
if (StringUtils.equals(week, "周六") || StringUtils.equals(week, "周日")) {
log.info("当前日期:{}, {}, 是工作日", date, week);
return Boolean.FALSE;
log.info("当前日期:{}, {}, 是周末", date, week);
return Boolean.TRUE;
}
return Boolean.TRUE;
return Boolean.FALSE;
}
return Boolean.FALSE;
return Boolean.TRUE;
}
}