lvhao 14 часов назад
Родитель
Сommit
3f5f45a26d
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      core/CoreApp/libraries/Common.php

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

@@ -90,7 +90,7 @@ $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 = "show =1 and 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;
 	}
@@ -98,7 +98,7 @@ $this->ci = &get_instance();
     function _dlzwarehouse($classid,$num=100,$order='px asc')
     {
 	$this->ci->load->_model('Model_warehouse','warehouse');
-    $where = "show = 1 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 = "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";
     $result = $this->ci->warehouse->find_all($where,'*',$order,0,$num);
     return $result;
 	}