|
@@ -55,7 +55,7 @@ class UpdateHkList extends Command
|
|
|
public function updateAreaList()
|
|
|
{
|
|
|
//查询使用海康服务器的矿区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) {
|
|
|
MineServices::getHaiKangArea($val, CameraEnum::REQUEST_TYPE_LOCAL);
|
|
@@ -103,12 +103,12 @@ class UpdateHkList extends Command
|
|
|
$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')
|