正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -369,7 +369,7 @@ class GeoQuestionRes extends Command | @@ -369,7 +369,7 @@ class GeoQuestionRes extends Command | ||
| 369 | $ids = GeoQuestion::where('status', GeoQuestion::STATUS_OPEN) | 369 | $ids = GeoQuestion::where('status', GeoQuestion::STATUS_OPEN) |
| 370 | ->whereIn('project_id', $project_ids) | 370 | ->whereIn('project_id', $project_ids) |
| 371 | ->where(function ($query){ | 371 | ->where(function ($query){ |
| 372 | - $query->where('next_time', '<=', date('Y-m-d')) | 372 | + $query->where('current_time', '<>', date('Y-m-d')) |
| 373 | ->orWhereNull('next_time'); | 373 | ->orWhereNull('next_time'); |
| 374 | }) | 374 | }) |
| 375 | ->orderBy('next_time', 'asc') | 375 | ->orderBy('next_time', 'asc') |
-
请 注册 或 登录 后发表评论