mirror of
https://github.com/magicbug/Cloudlog
synced 2024-11-22 00:07:14 +00:00
[Awards][GMDX] error in SQL
This commit is contained in:
parent
0cee638cd5
commit
9ff7e81c8a
@ -17,7 +17,7 @@ class Gmdxsummer_model extends CI_Model
|
||||
SELECT COUNT(DISTINCT SUBSTRING(COL_GRIDSQUARE, 1, 4)) AS count
|
||||
FROM " . $table_name . "
|
||||
WHERE station_id in (" . $location_list . ") AND COL_MODE = '" . $mode . "' AND COL_BAND = '" . $band . "'
|
||||
AND (COL_TIME_ON >= '2024-05-13 00:00:00' AND COL_TIME_ON <= '. $end_date .')
|
||||
AND (COL_TIME_ON >= '2024-05-13 00:00:00' AND COL_TIME_ON <= '" . $end_date . "')
|
||||
");
|
||||
|
||||
return $query->row()->count;
|
||||
|
Loading…
Reference in New Issue
Block a user