Commit 8b30b1d8 authored by 冯超鹏's avatar 冯超鹏

no message

parent b9d8a862
Pipeline #130 canceled with stages
...@@ -378,6 +378,7 @@ class DevicesController extends Controller ...@@ -378,6 +378,7 @@ class DevicesController extends Controller
if (!is_null($this->isadmin())) { if (!is_null($this->isadmin())) {
$data = DB::table('reportpolice as r') $data = DB::table('reportpolice as r')
->join('status as s', 'r.policestatus', '=', 's.id') ->join('status as s', 'r.policestatus', '=', 's.id')
->join('device as d' , 'r.devicenumber','=','d.devicenum')
->select('r.*', 's.status_name','d.id as deid') ->select('r.*', 's.status_name','d.id as deid')
->get(); ->get();
}else{ }else{
......
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