正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -39,8 +39,8 @@ class AdminFaultController extends AdminBaseController{ | @@ -39,8 +39,8 @@ class AdminFaultController extends AdminBaseController{ | ||
39 | ->field('a.*,b.serial_number,b.hospital') | 39 | ->field('a.*,b.serial_number,b.hospital') |
40 | ->join('equipment b','a.eq_name=b.name') | 40 | ->join('equipment b','a.eq_name=b.name') |
41 | ->where($where) | 41 | ->where($where) |
42 | - ->order('a.fault_type','ase') | ||
43 | ->order('a.create_time','desc') | 42 | ->order('a.create_time','desc') |
43 | + ->order('a.fault_type','ase') | ||
44 | ->paginate(10); | 44 | ->paginate(10); |
45 | 45 | ||
46 | $this->assign('data',$data); | 46 | $this->assign('data',$data); |
-
请 注册 或 登录 后发表评论