|
|
- $list = Db::name("supplier_info")->where($condition)->field("id,code,name,contector,nature,type,mobile,address,post,addtime,LENGTH(companyName) as weight")->order("weight asc")->select();
|
|
|
+ $list = Db::name("supplier_info")->where($condition)->field("id,code,name,contector,nature,type,mobile,address,post,addtime,LENGTH(companyName) as weight")->limit(20)->order("weight asc")->select();
|