作者 潘浩文
1 个管道 的构建 通过 耗费 3 秒

XIAOPAN

@@ -41,7 +41,7 @@ class AdminOrderController extends AdminBaseController{ @@ -41,7 +41,7 @@ class AdminOrderController extends AdminBaseController{
41 // ->field('a.*,b.serial_number,b.hospital') 41 // ->field('a.*,b.serial_number,b.hospital')
42 // ->join('equipment b','a.eq_name=b.name') 42 // ->join('equipment b','a.eq_name=b.name')
43 ->where($where) 43 ->where($where)
44 - ->order('start_time','desc') 44 + ->order('end_time','desc')
45 ->paginate(10); 45 ->paginate(10);
46 $this->assign('data',$data); 46 $this->assign('data',$data);
47 $this->assign('hospital', isset($param['hospital']) ? $param['hospital'] : ''); 47 $this->assign('hospital', isset($param['hospital']) ? $param['hospital'] : '');