CorpJournal Command

This commit is contained in:
2018-12-13 17:26:08 -06:00
parent d60169978b
commit 23016021d6
+1 -1
View File
@@ -63,9 +63,9 @@ class CorpJournal extends Command
$corpCompleted = false;
//Get the corps with structures logged in the database
$corps = DB::table('CorpStructures')->select('corporation_id')->groupBy('corporation_id')->get();
dd($corps);
foreach($corps as $corp) {
$charId = DB::table('CorpStructures')->select('character_id')->where(['corporation_id' => $corp->corporation_id])->first();
dd($charId);
$this->GetJournal($charId);
}