作者 zhl

修改GEO查询任务条件

@@ -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')