|
|
@ -170,6 +170,7 @@ class TpBokun_model extends CI_Model
|
|
|
|
var $pag_sn;
|
|
|
|
var $pag_sn;
|
|
|
|
var $PAG_CII_SN = 0;
|
|
|
|
var $PAG_CII_SN = 0;
|
|
|
|
var $PAG_Code = "";
|
|
|
|
var $PAG_Code = "";
|
|
|
|
|
|
|
|
var $PAG_Type = "35004";
|
|
|
|
var $PAG_Scheme = "1,2,3,4,5,6,7";
|
|
|
|
var $PAG_Scheme = "1,2,3,4,5,6,7";
|
|
|
|
var $PAG_Title = "";
|
|
|
|
var $PAG_Title = "";
|
|
|
|
var $PAG_DEI_SN = "34";
|
|
|
|
var $PAG_DEI_SN = "34";
|
|
|
@ -192,6 +193,7 @@ class TpBokun_model extends CI_Model
|
|
|
|
INSERT INTO [BIZ_PackageInfo]
|
|
|
|
INSERT INTO [BIZ_PackageInfo]
|
|
|
|
([PAG_CII_SN]
|
|
|
|
([PAG_CII_SN]
|
|
|
|
,[PAG_Code]
|
|
|
|
,[PAG_Code]
|
|
|
|
|
|
|
|
,[PAG_Type]
|
|
|
|
,[PAG_Scheme]
|
|
|
|
,[PAG_Scheme]
|
|
|
|
,[CreatTime]
|
|
|
|
,[CreatTime]
|
|
|
|
,[PAG_Title]
|
|
|
|
,[PAG_Title]
|
|
|
@ -205,6 +207,7 @@ class TpBokun_model extends CI_Model
|
|
|
|
$query = $this->HT229Write->query($sql, array(
|
|
|
|
$query = $this->HT229Write->query($sql, array(
|
|
|
|
$this->PAG_CII_SN,
|
|
|
|
$this->PAG_CII_SN,
|
|
|
|
$this->PAG_Code,
|
|
|
|
$this->PAG_Code,
|
|
|
|
|
|
|
|
$this->PAG_Type,
|
|
|
|
$this->PAG_Scheme,
|
|
|
|
$this->PAG_Scheme,
|
|
|
|
$this->PAG_Title,
|
|
|
|
$this->PAG_Title,
|
|
|
|
$this->PAG_DEI_SN,
|
|
|
|
$this->PAG_DEI_SN,
|
|
|
@ -260,8 +263,9 @@ class TpBokun_model extends CI_Model
|
|
|
|
|
|
|
|
|
|
|
|
/** CHT 那边的操作 */
|
|
|
|
/** CHT 那边的操作 */
|
|
|
|
function getChtTours($strcity){
|
|
|
|
function getChtTours($strcity){
|
|
|
|
$sql = "select * from infoContents
|
|
|
|
$sql = "select (select ic_url_title from infoContents inner join infoStructures on is_ic_id=ic_id where is_id = tbs.is_parent_id) as city
|
|
|
|
inner join infoStructures on is_ic_id=ic_id
|
|
|
|
,* from infoContents tbc
|
|
|
|
|
|
|
|
inner join infoStructures tbs on tbs.is_ic_id=tbc.ic_id
|
|
|
|
where ic_status = 1
|
|
|
|
where ic_status = 1
|
|
|
|
and is_parent_id in (
|
|
|
|
and is_parent_id in (
|
|
|
|
select is_id from infoStructures
|
|
|
|
select is_id from infoStructures
|
|
|
|