更新
This commit is contained in:
parent
d5cd3ca669
commit
d5234d9b29
@ -55,9 +55,12 @@ class FinanceRefundApplyLists extends BaseAdminDataLists implements ListsSearchI
|
||||
public function lists(): array
|
||||
{
|
||||
return FinanceRefundApply::where($this->searchWhere)
|
||||
->field(['*'])
|
||||
->alias('f')
|
||||
->join('custom c', 'c.id = f.customer_id')
|
||||
->join('project p', 'p.id = f.contract_id')
|
||||
->field(['f.*','c.name as custom_name','p.name as project_name','p.project_code'])
|
||||
->limit($this->limitOffset, $this->limitLength)
|
||||
->order(['id' => 'desc'])
|
||||
->order(['f.id' => 'desc'])
|
||||
->select()
|
||||
->toArray();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user