dayswithqsos added "col_time_on" to "getDates" to see if it fixes error
Change to see if it fixes #582
这个提交包含在:
父节点
ae11d17ff0
当前提交
30f0b6b3e7
共有 1 个文件被更改,包括 2 次插入 和 2 次删除
|
|
@ -80,7 +80,7 @@ class Dayswithqso_model extends CI_Model
|
|||
$CI->load->model('Stations');
|
||||
$station_id = $CI->Stations->find_active();
|
||||
|
||||
$sql = "select distinct cast(col_time_on as date) as date from "
|
||||
$sql = "select col_time_on, distinct cast(col_time_on as date) as date from "
|
||||
.$this->config->item('table_name'). " thcv
|
||||
where station_id = " . $station_id . " order by col_time_on asc";
|
||||
|
||||
|
|
@ -89,4 +89,4 @@ class Dayswithqso_model extends CI_Model
|
|||
return $query->result();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
正在加载…
在新工单中引用