正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -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('id','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'] : ''); |
-
请 注册 或 登录 后发表评论