作者 董瑞恩
1 个管道 的构建 通过 耗费 0 秒

interface

@@ -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.fault_type','ase')
42 ->order('a.create_time','desc') 43 ->order('a.create_time','desc')
43 ->paginate(10); 44 ->paginate(10);
44 45