作者 zhl

修改GEO查询任务条件

... ... @@ -369,7 +369,7 @@ class GeoQuestionRes extends Command
$ids = GeoQuestion::where('status', GeoQuestion::STATUS_OPEN)
->whereIn('project_id', $project_ids)
->where(function ($query){
$query->where('next_time', '<=', date('Y-m-d'))
$query->where('current_time', '<>', date('Y-m-d'))
->orWhereNull('next_time');
})
->orderBy('next_time', 'asc')
... ...