This commit is contained in:
salam committed 2026-09-11 10:49:49 +02:00
1 parent f028a8b2a8
commit 60ab054eb2
5 files changed
+18 -16

No files matched your search

@@ -3,14 +3,14 @@
namespace App\Filament\Imports\Helper;
use App\Models\StatistikoDetail;
use App\Traits\UpdatePlayerSeasonHelper;
use App\Traits\UpdateHelper;
use Illuminate\Support\Carbon;
use Illuminate\Support\LazyCollection;
use Spatie\SimpleExcel\SimpleExcelReader;
class ImportDetails
{
use UpdatePlayerSeasonHelper;
use UpdateHelper;
public static function run(string $filePath): void
{
@@ -64,6 +64,6 @@ class ImportDetails
StatistikoDetail::where('updated_at', '!=', $now)->update(['is_active' => 0]);
/**update statistic player tabel */
UpdatePlayerSeasonHelper::update(1000000);
UpdateHelper::updatePlayers(1000000);
}
}
+3 -3
View File
@@ -3,13 +3,13 @@
namespace App\Filament\Imports\Helper;
use App\Models\StatistikoPlayer;
use App\Traits\UpdatePlayerSeasonHelper;
use App\Traits\UpdateHelper;
use Illuminate\Support\LazyCollection;
use Spatie\SimpleExcel\SimpleExcelReader;
class ImportPlayer
{
use UpdatePlayerSeasonHelper;
use UpdateHelper;
public static function run(string $filePath): void
{
@@ -117,6 +117,6 @@ class ImportPlayer
});
/**update statistic player tabel */
UpdatePlayerSeasonHelper::update(1000000);
UpdateHelper::updatePlayers(1000000);
}
}