更新细节
This commit is contained in:
parent
dd3947298d
commit
12c0e4cb1e
@ -62,9 +62,9 @@ class AcceptanceBillLists extends BaseAdminDataLists implements ListsSearchInter
|
|||||||
->leftJoin('project p','p.id = ab.project_id')
|
->leftJoin('project p','p.id = ab.project_id')
|
||||||
->leftJoin('contract c','c.id = ab.contract_id')
|
->leftJoin('contract c','c.id = ab.contract_id')
|
||||||
->leftJoin('custom ct','ct.id = ab.customer_id')
|
->leftJoin('custom ct','ct.id = ab.customer_id')
|
||||||
->field('ap.*, d.name as dept_name, o.name as org_name, p.name as project_name, c.contract_code, c.contract_name')
|
->field('ab.*, d.name as dept_name, o.name as org_name, p.name as project_name, c.contract_code, c.contract_name')
|
||||||
->limit($this->limitOffset, $this->limitLength)
|
->limit($this->limitOffset, $this->limitLength)
|
||||||
->order(['ap.id' => 'desc'])
|
->order(['ab.id' => 'desc'])
|
||||||
->select()->each(function($item, $key){
|
->select()->each(function($item, $key){
|
||||||
//关联数据后续添加
|
//关联数据后续添加
|
||||||
$item['supplier_name'] = '供应商名称';
|
$item['supplier_name'] = '供应商名称';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user