ReAdded get_station_id_with_qrz_api()
这个提交包含在:
父节点
9559f45768
当前提交
b85525ce9c
共有 1 个文件被更改,包括 19 次插入 和 0 次删除
|
|
@ -1712,6 +1712,25 @@ class Logbook_model extends CI_Model {
|
||||||
return $this->db->query($sql);
|
return $this->db->query($sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Function returns all the station_id's with QRZ API Key's
|
||||||
|
*/
|
||||||
|
function get_station_id_with_qrz_api() {
|
||||||
|
$sql = 'select station_id, qrzapikey from station_profile
|
||||||
|
where coalesce(qrzapikey, "") <> ""';
|
||||||
|
|
||||||
|
$query = $this->db->query($sql);
|
||||||
|
|
||||||
|
$result = $query->result();
|
||||||
|
|
||||||
|
if ($result) {
|
||||||
|
return $result;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Function returns all the station_id's with HRDLOG Code
|
* Function returns all the station_id's with HRDLOG Code
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用