作者 刘锟

update

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