add test diff 0, for update distance
这个提交包含在:
父节点
f68455b66f
当前提交
f21efc03cd
共有 1 个文件被更改,包括 1 次插入 和 1 次删除
|
|
@ -3943,7 +3943,7 @@ function check_if_callsign_worked_in_logbook($callsign, $StationLocationsArray =
|
||||||
public function update_distances(){
|
public function update_distances(){
|
||||||
$this->db->select("COL_PRIMARY_KEY, COL_GRIDSQUARE, station_gridsquare");
|
$this->db->select("COL_PRIMARY_KEY, COL_GRIDSQUARE, station_gridsquare");
|
||||||
$this->db->join('station_profile', 'station_profile.station_id = '.$this->config->item('table_name').'.station_id');
|
$this->db->join('station_profile', 'station_profile.station_id = '.$this->config->item('table_name').'.station_id');
|
||||||
$this->db->where("COL_DISTANCE is NULL");
|
$this->db->where("((COL_DISTANCE is NULL) or (COL_DISTANCE = 0))");
|
||||||
$this->db->where("COL_GRIDSQUARE is NOT NULL");
|
$this->db->where("COL_GRIDSQUARE is NOT NULL");
|
||||||
$this->db->where("COL_GRIDSQUARE != ''");
|
$this->db->where("COL_GRIDSQUARE != ''");
|
||||||
$this->db->trans_start();
|
$this->db->trans_start();
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用