panlumeng 2 years ago
parent
commit
fd1292258c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/controller/Title.php

+ 1 - 1
app/admin/controller/Title.php

@@ -118,7 +118,7 @@ class Title extends BaseController
         $list = Db::name('customer_title')->alias("a")
             ->join("customer_info b","b.companyNo=a.companyNo","left")
             ->where($where)->page($page,$size)->field("a.*,b.companyName,b.creater,LENGTH(a.invoice_title) as weight")
-            ->order("a.addtime desc")->order("weight asc")->select();
+            ->order("weight asc")->select();
         return app_show(0,"获取成功",['list'=>$list,'count'=>$count]);
     }
     public function edit(){