feature/pay
parent
6a2de280c3
commit
5f5100cf68
@ -0,0 +1,31 @@
|
||||
<?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 */
|
Loading…
Reference in New Issue