Update: 2026-07-05 18:34:59
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user