Jing Li 2024-04-17 10:28:28 +08:00
parent 4ca6e78619
commit a56d03d822
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ class TaskLedgerGenerateCommand extends Command
return $planable->setRelation('plan', $plan); return $planable->setRelation('plan', $plan);
}); });
$stores = Store::with(['master'])->all(); $stores = Store::with(['master'])->get();
/** @var \App\Models\Store */ /** @var \App\Models\Store */
foreach ($stores as $store) { foreach ($stores as $store) {