修改北京,北京西搜索问题

hotfix/远程访问多媒体中心
cyc 8 years ago
parent fc2e55e1c7
commit dcc5ab40fd

@ -9,6 +9,9 @@ class BIZ_intel_train_model extends CI_Model {
//查询火车列表信息
public function get_train_info($trainFromCode,$trainToCode){
if($trainFromCode == 'CHBJ'){
$add = "OR tl.trainFromCode = 'CHPW'";
}
$sql = "
SELECT
tl.trainNo,
@ -119,7 +122,7 @@ class BIZ_intel_train_model extends CI_Model {
}
public function ch_allstations(){
$sql = "SELECT * FROM TrainStation_intel where station_id != 11";
$sql = "SELECT * FROM TrainStation_intel where station_id != 10";
$query = $this->HT->query($sql);
return $query->result();
}
@ -145,8 +148,8 @@ class BIZ_intel_train_model extends CI_Model {
}else{
$and = "";
}
if($station_id == 10){
$station = "or tsi_FromStation = 11";
if($station_id == 11){
$station = "or tsi_FromStation = 10";
}else{
$station = "";
}

Loading…
Cancel
Save