...
|
...
|
@@ -53,7 +53,7 @@ class AdminEquipmentController extends AdminBaseController{ |
|
|
$where['create_time']=['between',[strtotime($param['start_time']),strtotime($param['end_time'])]];
|
|
|
}
|
|
|
$Equipment=new EquipmentModel();
|
|
|
$data=$Equipment->where($where)->paginate(10,false,['query'=>$param]);
|
|
|
$data=$Equipment->where($where)->order('create_time','desc')->paginate(10,false,['query'=>$param]);
|
|
|
$this->assign('data',$data);
|
|
|
$this->assign('name', isset($param['name']) ? $param['name'] : '');
|
|
|
$this->assign('hospital', isset($param['hospital']) ? $param['hospital'] : '');
|
...
|
...
|
|