Model_bhccwl.php 634 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
  2. class Model_bhccwl extends Lin_Model
  3. {
  4. function __construct(){
  5. parent::__construct();
  6. $this->load->database();
  7. $this->table = 'bhccwl';
  8. $this->load_table('bhccwl');
  9. }
  10. public function getStatus(){
  11. return [
  12. '0'=>'未发布',
  13. '1'=>"已发布",
  14. '2'=>'已撤回'
  15. ];
  16. }
  17. public function getCkStatus(){
  18. return [
  19. '0'=>'未审核',
  20. '1'=>"已审核",
  21. "2"=>"部分生产",
  22. "3"=>"全部生产",
  23. ];
  24. }
  25. public function getDrck(){
  26. return [
  27. '12003'=>"发条库",
  28. '12004'=>"发块库",
  29. "12006"=>"完成库",
  30. ];
  31. }
  32. }