Commit 598bee60 authored by Administrator's avatar Administrator

报警提示

parent 99a687f6
Pipeline #85 canceled with stages
...@@ -114,7 +114,7 @@ class SwooleCommandMeTcpController extends Controller ...@@ -114,7 +114,7 @@ class SwooleCommandMeTcpController extends Controller
if ($type['endtime'] != '' && $type['status'] == 2 && $davicedata[1] != 1){ if ($type['endtime'] != '' && $type['status'] == 2 && $davicedata[1] != 1){
$up = DB::table('reportpolice') $up = DB::table('reportpolice')
->where('devicenumber', '=', $davicedata[0]) ->where('devicenumber', '=', $davicedata[0])
->update(['endtime'=>'','status' => 1,'policestatus'=> $davicedata[1],'concentration' => $davicedata[2]]); ->update(['endtime'=>'', 'police' => 1,'status' => 1,'policestatus'=> $davicedata[1],'concentration' => $davicedata[2]]);
} }
if($type['status'] == 1 && $type['endtime'] == '' && $davicedata[1] == 1){ if($type['status'] == 1 && $type['endtime'] == '' && $davicedata[1] == 1){
$up = DB::table('reportpolice') $up = DB::table('reportpolice')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment