Browse Source

恢复洗选

任敬轩 2 years ago
parent
commit
2640ea0bb3
1 changed files with 7 additions and 7 deletions
  1. 7 7
      app/Console/Commands/UpdateHkList.php

+ 7 - 7
app/Console/Commands/UpdateHkList.php

@@ -55,7 +55,7 @@ class UpdateHkList extends Command
     public function updateAreaList()
     public function updateAreaList()
     {
     {
         //查询使用海康服务器的矿区id
         //查询使用海康服务器的矿区id
-        $mine_id_list = MineListExt::where('is_hak', 1)->where('mine_id','!=',66)->pluck('mine_id')->all();
+        $mine_id_list = MineListExt::where('is_hak', 1)->pluck('mine_id')->all();
 
 
         foreach ($mine_id_list as $key => $val) {
         foreach ($mine_id_list as $key => $val) {
             MineServices::getHaiKangArea($val, CameraEnum::REQUEST_TYPE_LOCAL);
             MineServices::getHaiKangArea($val, CameraEnum::REQUEST_TYPE_LOCAL);
@@ -103,12 +103,12 @@ class UpdateHkList extends Command
         $index_code_list = MineList::where('index_code', '!=', null)->get();
         $index_code_list = MineList::where('index_code', '!=', null)->get();
 
 
         //去掉洗选
         //去掉洗选
-        foreach($index_code_list as $k=>$v){
-            $degree = explode('|',$v->degree);
-            if($degree[0] == 66){
-                unset($index_code_list[$k]);
-            }
-        }
+//        foreach($index_code_list as $k=>$v){
+//            $degree = explode('|',$v->degree);
+//            if($degree[0] == 66){
+//                unset($index_code_list[$k]);
+//            }
+//        }
 
 
         //天地伟业矿区
         //天地伟业矿区
         $mine_ext = DB::table('mine_list_ext')
         $mine_ext = DB::table('mine_list_ext')