Model_caiwusfh.php 456 B

123456789101112131415161718
  1. <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
  2. class Model_caiwusfh extends Lin_Model
  3. {
  4. function __construct(){
  5. parent::__construct();
  6. $this->load->database();
  7. $this->table = 'caiwusfh';
  8. $this->load_table('caiwusfh');
  9. }
  10. public function get_ht($ht)
  11. {
  12. return $this->find("ht = '$ht'");
  13. }
  14. public function get_orderno($orderno)
  15. {
  16. return $this->find("orderno = '$orderno'");
  17. }
  18. } //end class