|
|
|
|
@ -120,7 +120,11 @@ class BIZ_intel_train_model extends CI_Model {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function get_allstations(){
|
|
|
|
|
$sql = "SELECT * FROM TrainStation_intel where station_id != 1";
|
|
|
|
|
// $sql = "SELECT * FROM TrainStation_intel where station_id != 1";
|
|
|
|
|
//2022-4-20 zp 上面所有站点由于印度有8335个站点,循环读取系统吃不消,用下面的限制有车次的才显示。
|
|
|
|
|
$sql = "SELECT * FROM TrainStation_intel
|
|
|
|
|
inner join TrainSearch_intel on tsi_ToStation = station_id
|
|
|
|
|
where station_id <> 1";
|
|
|
|
|
$query = $this->HT->query($sql);
|
|
|
|
|
return $query->result();
|
|
|
|
|
}
|
|
|
|
|
|