Bugfix selecting stations with pending QSOs
这个提交包含在:
		
							父节点
							
								
									cbf6efd19f
								
							
						
					
					
						当前提交
						18b1417172
					
				
					共有  1 个文件被更改,包括 2 次插入 和 2 次删除
				
			
		|  | @ -355,12 +355,12 @@ class Stations extends CI_Model { | ||||||
| 				LEFT JOIN webadif ON qsos.COL_PRIMARY_KEY = webadif.qso_id | 				LEFT JOIN webadif ON qsos.COL_PRIMARY_KEY = webadif.qso_id | ||||||
| 				WHERE webadif.qso_id IS NULL | 				WHERE webadif.qso_id IS NULL | ||||||
| 				GROUP BY qsos.station_id | 				GROUP BY qsos.station_id | ||||||
| 			) notc | 			) notc ON station_profile.station_id = notc.station_id | ||||||
| 			INNER JOIN ( | 			INNER JOIN ( | ||||||
| 				SELECT qsos.station_id, COUNT(qsos.COL_PRIMARY_KEY) c | 				SELECT qsos.station_id, COUNT(qsos.COL_PRIMARY_KEY) c | ||||||
| 				FROM %s qsos | 				FROM %s qsos | ||||||
| 				GROUP BY qsos.station_id | 				GROUP BY qsos.station_id | ||||||
| 			) totc | 			) totc ON station_profile.station_id = totc.station_id | ||||||
| 			WHERE COALESCE(station_profile.webadifapikey, '') <> '' | 			WHERE COALESCE(station_profile.webadifapikey, '') <> '' | ||||||
| 			AND COALESCE(station_profile.webadifapiurl, '') <> '' | 			AND COALESCE(station_profile.webadifapiurl, '') <> '' | ||||||
| 			AND station_profile.user_id = %d | 			AND station_profile.user_id = %d | ||||||
|  |  | ||||||
		正在加载…
	
		在新工单中引用