only send QSOs to eQSL which have a station profile that has an eqsl qth nickname defined
这个提交包含在:
		
							父节点
							
								
									928ad137a8
								
							
						
					
					
						当前提交
						5e2690cb97
					
				
					共有  1 个文件被更改,包括 1 次插入 和 3 次删除
				
			
		|  | @ -971,13 +971,11 @@ class Logbook_model extends CI_Model { | ||||||
| 
 | 
 | ||||||
|       $this->db->select('station_profile.*, '.$this->config->item('table_name').'.COL_PRIMARY_KEY, '.$this->config->item('table_name').'.COL_TIME_ON, '.$this->config->item('table_name').'.COL_CALL, '.$this->config->item('table_name').'.COL_MODE, '.$this->config->item('table_name').'.COL_BAND, '.$this->config->item('table_name').'.COL_COMMENT, '.$this->config->item('table_name').'.COL_RST_SENT, '.$this->config->item('table_name').'.COL_PROP_MODE'); |       $this->db->select('station_profile.*, '.$this->config->item('table_name').'.COL_PRIMARY_KEY, '.$this->config->item('table_name').'.COL_TIME_ON, '.$this->config->item('table_name').'.COL_CALL, '.$this->config->item('table_name').'.COL_MODE, '.$this->config->item('table_name').'.COL_BAND, '.$this->config->item('table_name').'.COL_COMMENT, '.$this->config->item('table_name').'.COL_RST_SENT, '.$this->config->item('table_name').'.COL_PROP_MODE'); | ||||||
|       $this->db->from('station_profile'); |       $this->db->from('station_profile'); | ||||||
|       $this->db->join($this->config->item('table_name'),'station_profile.station_id = '.$this->config->item('table_name').'.station_id','left'); |       $this->db->join($this->config->item('table_name'),'station_profile.station_id = '.$this->config->item('table_name').'.station_id AND station_profile.eqslqthnickname != ""','left'); | ||||||
|       $this->db->where('station_profile.eqslqthnickname !=', ''); |  | ||||||
|       $this->db->where($this->config->item('table_name').'.COL_EQSL_QSL_SENT !=', 'Y'); |       $this->db->where($this->config->item('table_name').'.COL_EQSL_QSL_SENT !=', 'Y'); | ||||||
|       $this->db->where($this->config->item('table_name').'.COL_EQSL_QSL_SENT !=', 'I'); |       $this->db->where($this->config->item('table_name').'.COL_EQSL_QSL_SENT !=', 'I'); | ||||||
|       $this->db->or_where(array($this->config->item('table_name').'.COL_EQSL_QSL_SENT' => NULL)); |       $this->db->or_where(array($this->config->item('table_name').'.COL_EQSL_QSL_SENT' => NULL)); | ||||||
|       return $this->db->get(); |       return $this->db->get(); | ||||||
| 
 |  | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     function import($record, $station_id = "0") { |     function import($record, $station_id = "0") { | ||||||
|  |  | ||||||
		正在加载…
	
		在新工单中引用