| 123456789101112131415161718192021222324252627 | 
							- <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 
 
- class Model_Express extends Lin_Model 
 
- {
 
- 	function __construct(){
 
- 	parent::__construct();
 
- 	$this->load->database();
 
- 	$this->table = 'express';
 
-     $this->load_table('express');
 
- }
 
- 	/** 通过描述查找查找 */
 
- 	public function get_title($title)
 
- 	{
 
- 		return  $this->find("title = '$title'");	
 
- 	}
 
- 	public function get_servicename($servicename)
 
- 	{
 
- 		return  $this->find("servicename = '$servicename'");	
 
- 	}
 
- 	public function get_aecode($aecode)
 
- 	{
 
- 		return  $this->find("aecode = '$aecode'");	
 
- 	}
 
- 	public function get_cxcode($cxcode)
 
- 	{
 
- 		return  $this->find("cxcode = '$cxcode'");	
 
- 	}
 
- }  //end class
 
 
  |