上传
This commit is contained in:
parent
bb40f767fe
commit
e3eefa1700
@ -110,12 +110,13 @@ class CompanyLists extends BaseAdminDataLists implements ListsSearchInterface
|
|||||||
public function list_two(): array
|
public function list_two(): array
|
||||||
{
|
{
|
||||||
|
|
||||||
return Company::where('company_type','in',[30,16])
|
$list= Company::where('company_type','in',[30,16])
|
||||||
->field(['is_authentication','id', 'company_name', 'organization_code', 'city', 'area', 'street', 'company_type', 'master_name', 'master_position', 'master_phone', 'master_email', 'other_contacts', 'area_manager', 'is_contract', 'deposit', 'deposit_time', 'qualification', 'status'])
|
->field(['is_authentication','id', 'company_name', 'organization_code', 'city', 'area', 'street', 'company_type', 'master_name', 'master_position', 'master_phone', 'master_email', 'other_contacts', 'area_manager', 'is_contract', 'deposit', 'deposit_time', 'qualification', 'status'])
|
||||||
->limit($this->limitOffset, $this->limitLength)
|
->limit($this->limitOffset, $this->limitLength)
|
||||||
->order(['id' => 'desc'])
|
->order(['id' => 'desc'])
|
||||||
->select()
|
->select()
|
||||||
->toArray();
|
->toArray();
|
||||||
|
return ['list'=>$list,'page'=>$this->limitOffset,'limit'=>$this->limitLength];
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @notes 获取数量
|
* @notes 获取数量
|
||||||
|
Loading…
x
Reference in New Issue
Block a user