This commit is contained in:
2026-04-23 09:25:14 +08:00
parent 3fb3525e7e
commit 779f8b27b5
4 changed files with 11 additions and 7 deletions
@@ -205,9 +205,9 @@ public class SysHomeController {
Date startDate = activity.getStartDate();
Date endDate = activity.getEndDate();
// 判断当前时间是否在活动范围内,不在就过滤掉
// if (!DateUtil.isIn(today, startDate, endDate)) {
// continue;
// }
if (!DateUtil.isIn(today, startDate, endDate)) {
continue;
}
// 只过滤结束的
if (DateUtil.compare(today, endDate) > 0) {
continue;