lvhao 14 jam lalu
induk
melakukan
1dd28038f2
1 mengubah file dengan 2 tambahan dan 3 penghapusan
  1. 2 3
      core/CoreApp/libraries/Common.php

+ 2 - 3
core/CoreApp/libraries/Common.php

@@ -90,16 +90,15 @@ $this->ci = &get_instance();
 	$this->ci->load->_model('Model_user','user');
 	$this->ci->load->library('session');
 	$user = $this->ci->user->get_api($_SESSION['api']);
-	$where = " show = 1 and id != 2 and id != 14 and id != 11 and id != 15 and id != 10 and id != 1 and id != 4";
+	$where = "id != 2 and id != 14 and id != 11 and id != 15 and id != 10 and id != 1 and id != 4";
     $result = $this->ci->warehouse->find_all($where,'*',$order,0,$num);
     return $result;
 	}
-
 	/*独立站仓库*/
     function _dlzwarehouse($classid,$num=100,$order='px asc')
     {
 	$this->ci->load->_model('Model_warehouse','warehouse');
-    $where = "  show = 1 and  id != 2 and id != 7 and id != 8 and id != 9 and id != 14 and id != 11 and id != 15 and id != 10 and id != 1 and id != 4";
+    $where = "id != 2 and id != 7 and id != 8 and id != 9 and id != 14 and id != 11 and id != 15 and id != 10 and id != 1 and id != 4";
     $result = $this->ci->warehouse->find_all($where,'*',$order,0,$num);
     return $result;
 	}