fix: 分页查询
This commit is contained in:
@@ -77,7 +77,7 @@ class Contract extends Common
|
||||
{
|
||||
$param = request()->post();
|
||||
|
||||
$FirstLeveType = db('partner_company')->where('company_type & 0x01', 1)->field('company_id as id, company_name as name')->select();
|
||||
$FirstLeveType = 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($FirstLeveType); $i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user