...
|
...
|
@@ -36,8 +36,9 @@ class AdminFaultAuditController extends AdminBaseController{ |
|
|
}
|
|
|
$data=Db::name('fault')
|
|
|
->alias('a')
|
|
|
->field('a.*,b.serial_number,b.hospital')
|
|
|
->field('a.*,b.serial_number,b.hospital,u.phone')
|
|
|
->join('equipment b','a.eq_name=b.name')
|
|
|
->join('users u','a.users_id=u.id')
|
|
|
->where($where)
|
|
|
->order('a.state','ase')
|
|
|
->order('a.create_time','desc')
|
...
|
...
|
|