diff --git a/app/Console/Commands/Dealer/ManageSubsidySettleCommand.php b/app/Console/Commands/Dealer/ManageSubsidySettleCommand.php index 83c5b1a5..72c2992c 100644 --- a/app/Console/Commands/Dealer/ManageSubsidySettleCommand.php +++ b/app/Console/Commands/Dealer/ManageSubsidySettleCommand.php @@ -94,7 +94,7 @@ class ManageSubsidySettleCommand extends Command * @param int $count * @return void */ - protected function settle(Carbon $startAt, Carbon $endAt, $count = 500): void + protected function settle(Carbon $startAt, Carbon $endAt, $count = 200): void { $feeRate = app_settings('dealer.fee_rate'); @@ -103,7 +103,7 @@ class ManageSubsidySettleCommand extends Command ); do { - $dealers = Dealer::where('lvl', '>=', DealerLvl::Contracted) + $dealers = Dealer::where('lvl', '>=', DealerLvl::Secondary) ->forPageAfterId($count, $lastId, 'id') ->get();