正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
@@ -39,6 +39,7 @@ class AdminFaultController extends AdminBaseController{ | @@ -39,6 +39,7 @@ 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.state','ase') | ||
42 | ->order('a.fault_type','ase') | 43 | ->order('a.fault_type','ase') |
43 | ->order('a.create_time','desc') | 44 | ->order('a.create_time','desc') |
44 | ->paginate(10); | 45 | ->paginate(10); |
-
请 注册 或 登录 后发表评论