|
|
|
@ -126,7 +126,7 @@ class BIZ_intel_train_model extends CI_Model {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function ch_allstations(){
|
|
|
|
|
$sql = "SELECT * FROM [syn123] .tourmanager. dbo.TrainStation_intel where station_id != 10";
|
|
|
|
|
$sql = "SELECT * FROM TrainStation_intel where station_id != 10";
|
|
|
|
|
$query = $this->HT->query($sql);
|
|
|
|
|
return $query->result();
|
|
|
|
|
}
|
|
|
|
@ -155,9 +155,9 @@ class BIZ_intel_train_model extends CI_Model {
|
|
|
|
|
$sql = "SELECT
|
|
|
|
|
S_ename,s_country,tsi_Message
|
|
|
|
|
FROM
|
|
|
|
|
[syn123] .tourmanager. dbo.TrainSearch_intel
|
|
|
|
|
TrainSearch_intel
|
|
|
|
|
LEFT JOIN
|
|
|
|
|
[syn123] .tourmanager. dbo.TrainStation_intel
|
|
|
|
|
TrainStation_intel
|
|
|
|
|
ON
|
|
|
|
|
tsi_ToStation = station_id
|
|
|
|
|
where
|
|
|
|
|