From 36e6f927c02b018adfbb41febcea3808fa05c954 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=9D=99?= Date: Sat, 15 Jan 2022 16:16:50 +0800 Subject: [PATCH] Update --- app/Console/Commands/Dealer/ManageSubsidySettleCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();