...
|
...
|
@@ -48,10 +48,7 @@ class AdminOrderController extends AdminBaseController{ |
|
|
->join('equipment b','a.mac_address=b.mac_address')
|
|
|
->where($where)
|
|
|
->order('start_time','desc')
|
|
|
->paginate(10)->each(function ($item){
|
|
|
$item['time']=ceil(($item['end_time']-$item['start_time'])/3600);
|
|
|
return $item;
|
|
|
});
|
|
|
->paginate(10);
|
|
|
$this->assign('data',$data);
|
|
|
$this->assign('hospital', isset($param['hospital']) ? $param['hospital'] : '');
|
|
|
$this->assign('order_no', isset($param['order_no']) ? $param['order_no'] : '');
|
...
|
...
|
|