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

interface

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