6
0
Fork 0

优化管理津贴结算

release
李静 2022-01-15 15:50:43 +08:00
parent b238b38c44
commit 47be6912eb
1 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ class ManageSubsidySettleCommand extends Command
} }
$this->info("{$head}数据写入中..."); $this->info("{$head}数据写入中...");
$this->settle($startAt, $endAt); $this->settle($startAt, $endAt, 500);
$this->info("{$head}写入成功, 总耗时: ".$this->formatDuration($tz->diffInMilliseconds(now(), false))); $this->info("{$head}写入成功, 总耗时: ".$this->formatDuration($tz->diffInMilliseconds(now(), false)));
$this->info("{$head}------------[结束]管理津贴结算------------".PHP_EOL); $this->info("{$head}------------[结束]管理津贴结算------------".PHP_EOL);
@ -164,7 +164,7 @@ class ManageSubsidySettleCommand extends Command
*/ */
protected function cacheKey(Carbon $startAt, Carbon $endAt) protected function cacheKey(Carbon $startAt, Carbon $endAt)
{ {
$startAt->format('Ymd').'_'.$endAt->format('Ymd').'_dealer_manage_subsidy'; return $startAt->format('Ymd').'_'.$endAt->format('Ymd').'_dealer_manage_subsidy';
} }
/** /**