You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
855 B
PHP
32 lines
855 B
PHP
<?php
|
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
|
|
|
class Group_model extends CI_Model {
|
|
|
|
function __construct() {
|
|
parent::__construct();
|
|
$this->HT = $this->load->database('HT', TRUE);
|
|
}
|
|
|
|
public function get_vendor_plan_info($gri_sn, $vendor_id)
|
|
{
|
|
$sql = " SP_VendorPlan_GetPlanInfo $gri_sn, $vendor_id, 0 ";
|
|
return $this->HT->query($sql)->result();
|
|
}
|
|
|
|
public function get_guestlist($COLD_SN_str)
|
|
{
|
|
$sql = "SELECT *
|
|
FROM BIZ_BookPeopleList BPL
|
|
INNER JOIN BIZ_BookPeople BPE ON BPL_BPE_SN=BPE_SN
|
|
WHERE BPL_COLD_SN IN ($COLD_SN_str)";
|
|
$query = $this->HT->query($sql);
|
|
return $query->result();
|
|
}
|
|
|
|
|
|
}
|
|
|
|
/* End of file Group_model.php */
|
|
/* Location: ./third_party/vendorPlanSync/models/Group_model.php */
|