|
...
|
...
|
@@ -191,7 +191,7 @@ class Supervisory extends Command |
|
|
|
->where(function ($subQuery) {
|
|
|
|
$subQuery->orwhere('c.qa_status', OnlineCheck::STATUS_ONLINE_TRUE)->orwhere('gl_project.is_upgrade', Project::IS_UPGRADE_TRUE);
|
|
|
|
})
|
|
|
|
->pluck('gl_project.id')
|
|
|
|
->pluck('gl_project.type','gl_project.id')
|
|
|
|
->toArray();
|
|
|
|
$project_ids = array_rand($ids, 10);
|
|
|
|
return $project_ids;
|
...
|
...
|
|