We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff29b9e commit 8426110Copy full SHA for 8426110
laravel/app/Http/Repository/MultithreadingRepository.php
@@ -643,7 +643,7 @@ public function completionRate($excel_id)
643
// 2. 查询 api_excel_logs 表更新的数据量
644
$total = ApiExcelLogs::where('api_excel_id', $excel_id)->count();
645
// 3. 返回完成率
646
- return floor($total / $api_excel['total_excel'] * 100);
+ return floor($total / $total_excel * 100);
647
}
648
649
0 commit comments