更新
This commit is contained in:
@@ -33,7 +33,7 @@ class ExpressAutoUpdate extends Command
|
||||
$startTime = microtime(true);
|
||||
|
||||
try {
|
||||
$result = ExpressTrackingService::autoUpdateBatch(150);
|
||||
$result = ExpressTrackingService::autoUpdateBatch(200);
|
||||
|
||||
$duration = round(microtime(true) - $startTime, 2);
|
||||
|
||||
@@ -41,6 +41,17 @@ class ExpressAutoUpdate extends Command
|
||||
$output->writeln("总数: {$result['total']}");
|
||||
$output->writeln("成功: {$result['success']}");
|
||||
$output->writeln("失败: {$result['failed']}");
|
||||
$output->writeln("医助已移除: " . (int) ($result['assistant_cleared'] ?? 0));
|
||||
$output->writeln("医助保留(有指派记录): " . (int) ($result['assistant_skipped_assign_log'] ?? 0));
|
||||
$lines = $result['assistant_lines'] ?? [];
|
||||
if ($lines === []) {
|
||||
$output->writeln('医助明细: (无)');
|
||||
} else {
|
||||
$output->writeln('医助明细:');
|
||||
foreach ($lines as $line) {
|
||||
$output->writeln(' ' . $line);
|
||||
}
|
||||
}
|
||||
$output->writeln("耗时: {$duration}秒");
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user