Форматирование
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Services\PatientMigrationService;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Carbon;
|
||||
use Inertia\Inertia;
|
||||
|
||||
@@ -14,12 +13,13 @@ class TestController extends Controller
|
||||
$startAt = Carbon::parse('2026-01-01T00:00:00')->format('Y-m-d H:i:s');
|
||||
$endAt = Carbon::parse('2026-03-31T23:59:00')->format('Y-m-d H:i:s');
|
||||
|
||||
$cacheKey = "branch_current_2";
|
||||
\Cache::tags(["migrations_in_branch_outcome"])->flush();
|
||||
$cacheKey = 'branch_current_2';
|
||||
\Cache::tags(['migrations_in_branch_outcome'])->flush();
|
||||
|
||||
$data = $migrationService->getMigrationsInBranchOutcome(2, $startAt, $endAt);
|
||||
|
||||
return Inertia::render('TestQuery', [
|
||||
'data' => $data
|
||||
'data' => $data,
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user