update
This commit is contained in:
parent
30b01be381
commit
64ee036e85
@ -94,11 +94,7 @@ class FinanceReceiptRecordLists extends BaseAdminDataLists implements ListsSearc
|
||||
*/
|
||||
public function count(): int
|
||||
{
|
||||
return Db::name('FinanceReceiptRecord')->alias('frr')
|
||||
->where($this->searchWhere)
|
||||
->whereNull('frr.delete_time')
|
||||
->leftJoin('procurement_contract pc','pc.id = frr.contract_id')
|
||||
->leftJoin('project p','p.id = pc.project_id')->count();
|
||||
return FinanceReceiptRecord::where($this->searchWhere)->count();
|
||||
}
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user