...
|
...
|
@@ -31,7 +31,7 @@ class AdminFaultController extends AdminBaseController{ |
|
|
|
|
|
public function index(){
|
|
|
$data=Db::name('fault')->alias('a')
|
|
|
->field('a.eq_name,b.hospital,a.serial_number')
|
|
|
->field('a.eq_name,b.hospital,b.serial_number')
|
|
|
->join('equipment b','a.eq_name=b.name')
|
|
|
->group('a.eq_name')
|
|
|
->paginate(10)->each(function ($item){
|
...
|
...
|
|