fix: 分页查询
This commit is contained in:
@@ -237,6 +237,7 @@ class Partner extends Common
|
||||
//查找所有的签约客户公司
|
||||
$result = db('partner_company')->where('company_type & 0x01', 1)
|
||||
->field('company_id as id, company_name as name')
|
||||
->order('company_name asc')
|
||||
->select();
|
||||
|
||||
for ($i=0; $i<count($result); $i++)
|
||||
@@ -271,6 +272,7 @@ class Partner extends Common
|
||||
//查找所有的业主公司
|
||||
$OwnerList = db('partner_company')->where('company_type & 0x02', 2)
|
||||
->field('company_id as id, company_name as name')
|
||||
->order('company_name asc')
|
||||
->select();
|
||||
$ret = [];
|
||||
$item = [];
|
||||
|
||||
Reference in New Issue
Block a user