优化管理津贴结算
parent
b238b38c44
commit
47be6912eb
|
|
@ -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';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue