|
@@ -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(){
|