|
|
@@ -91,10 +91,10 @@ public class StoreOperationalActivityJob {
|
|
|
if (now.compareTo(endTime) > 0) {
|
|
|
// 当前时间 > 结束时间:应该设置为"已结束"(7)
|
|
|
// 只处理状态为"未开始"(2)或"进行中"(5)的活动
|
|
|
- if (currentStatus == 2 || currentStatus == 5) {
|
|
|
+// if (currentStatus == 2 || currentStatus == 5) {
|
|
|
endActivityIds.add(activity.getId());
|
|
|
log.debug("【定时任务】活动ID: {} 已过期,需要设置为已结束", activity.getId());
|
|
|
- }
|
|
|
+// }
|
|
|
} else if (now.compareTo(startTime) >= 0 && now.compareTo(endTime) <= 0) {
|
|
|
// 当前时间在活动时间范围内:应该设置为"进行中"(5)
|
|
|
// 只处理状态为"未开始"(2)或"审核成功"(8)的活动
|