Update: 2026-07-05 18:34:59

This commit is contained in:
Hamza-Ayed
2026-07-05 18:35:00 +03:00
parent 4150dbc7a6
commit 63ae10e612
+3 -3
View File
@@ -51,9 +51,9 @@ $targetHourNext = ($currentHour + 1) % 24; // الساعة القادمة (ال
$sqlHistory = "
SELECT
ROUND(pickup_lat / :grid) * :grid AS cell_lat,
ROUND(pickup_lng / :grid) * :grid AS cell_lng,
country_code,
ROUND(SUBSTRING_INDEX(start_location, ',', 1) / :grid) * :grid AS cell_lat,
ROUND(SUBSTRING_INDEX(start_location, ',', -1) / :grid) * :grid AS cell_lng,
'JO' AS country_code,
COUNT(*) AS demand_score
FROM ride
WHERE