|
@@ -68,6 +68,8 @@ class EngineerBillLists extends BaseAdminDataLists implements ListsSearchInterfa
|
|
|
->buildSql() => 'c'], 'a.id = c.master_worker_id')
|
|
->buildSql() => 'c'], 'a.id = c.master_worker_id')
|
|
|
->leftJoin('master_worker_account_log d', 'c.maxid = d.id')
|
|
->leftJoin('master_worker_account_log d', 'c.maxid = d.id')
|
|
|
->leftJoin('bank_account e', 'a.id = e.worker_id')
|
|
->leftJoin('bank_account e', 'a.id = e.worker_id')
|
|
|
|
|
+ ->order('a.id desc')
|
|
|
|
|
+ ->limit($this->limitOffset, $this->limitLength)
|
|
|
//->where('d.left_amount', '>', 0)
|
|
//->where('d.left_amount', '>', 0)
|
|
|
->select()->toArray();
|
|
->select()->toArray();
|
|
|
}
|
|
}
|