12345678910111213141516171819202122 |
- <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
- class Model_wigprint extends Lin_Model
- {
- function __construct(){
- parent::__construct();
- $this->load->database();
- $this->table = 'wigprint';
- $this->load_table('wigprint');
- }
- public function get_number($number)
- {
- return $this->find("number = '$number'");
- }
- public function get_orderinfo($orderinfo)
- {
- return $this->find("orderinfo = '$orderinfo'");
- }
- public function get_waybill($waybill)
- {
- return $this->find("waybill = '$waybill'");
- }
- }
|