Update: 2026-07-05 18:34:59
This commit is contained in:
@@ -51,9 +51,9 @@ $targetHourNext = ($currentHour + 1) % 24; // الساعة القادمة (ال
|
|||||||
|
|
||||||
$sqlHistory = "
|
$sqlHistory = "
|
||||||
SELECT
|
SELECT
|
||||||
ROUND(pickup_lat / :grid) * :grid AS cell_lat,
|
ROUND(SUBSTRING_INDEX(start_location, ',', 1) / :grid) * :grid AS cell_lat,
|
||||||
ROUND(pickup_lng / :grid) * :grid AS cell_lng,
|
ROUND(SUBSTRING_INDEX(start_location, ',', -1) / :grid) * :grid AS cell_lng,
|
||||||
country_code,
|
'JO' AS country_code,
|
||||||
COUNT(*) AS demand_score
|
COUNT(*) AS demand_score
|
||||||
FROM ride
|
FROM ride
|
||||||
WHERE
|
WHERE
|
||||||
|
|||||||
Reference in New Issue
Block a user