|
@@ -106,8 +106,8 @@ class CameraApiController extends BaseController
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- $total = DB::table('camera_list')->whereIn('mine_id',$mine_use)->where('deleted_at',null)->count();
|
|
|
|
- $total_online = DB::table('camera_list')->whereIn('mine_id',$mine_use)->where('camera_status',1)->where('deleted_at',null)->count();
|
|
|
|
|
|
+ $total = DB::table('camera_list')->whereIn('mine_id',$mine_use)->where('is_show',1)->where('deleted_at',null)->count();
|
|
|
|
+ $total_online = DB::table('camera_list')->whereIn('mine_id',$mine_use)->where('is_show',1)->where('camera_status',1)->where('deleted_at',null)->count();
|
|
|
|
|
|
if($total == 0){
|
|
if($total == 0){
|
|
$rate = "0%";
|
|
$rate = "0%";
|