getInfoById($id); } static public function getInfoByPhone($phone) { $Table_common_guest = new Table_common_guest(); return $Table_common_guest->getInfoByPhone($phone); } static public function getInfoByOpenId($openId) { $Table_common_guest = new Table_common_guest(); return $Table_common_guest->getInfoByOpenId($openId); } static public function add($attrs) { $Table_common_guest = new Table_common_guest(); $id = $Table_common_guest->add($attrs); return $id; } static public function edit($id, $attrs) { $Table_common_guest = new Table_common_guest(); return $Table_common_guest->edit($id, $attrs); } static public function update($id, $attrs) { $Table_common_guest = new Table_common_guest(); return $Table_common_guest->update($id, $attrs); } static public function del($id) { $Table_common_guest = new Table_common_guest(); return $Table_common_guest->del($id); } static public function getList($filter = array(), $count=0, $page=0, $pageSize=0) { $Table_common_guest = new Table_common_guest(); return $Table_common_guest->getList($filter, $count, $page, $pageSize); } static public function getListByPage($filter = array(), $page=0, $pagesize=0){ $Table_common_guest = new Table_common_guest(); return $Table_common_guest->getList($filter, 0, $page, $pagesize); } static public function getCountAll($filter = array()){ $Table_common_guest = new Table_common_guest(); return $Table_common_guest->getList($filter, 1); } }