This commit is contained in:
chenbo 2023-09-19 11:52:27 +08:00
parent 2af2dcce1f
commit 40a40c67a0

View File

@ -43,7 +43,7 @@ class ApproveLists extends BaseApiDataLists implements ListsSearchInterface
public function lists(): array
{
Approve::where($this->searchWhere)
return Approve::where($this->searchWhere)
->where($this->queryWhere())
->limit($this->limitOffset, $this->limitLength)
->order(['id' => 'desc'])
@ -52,8 +52,6 @@ class ApproveLists extends BaseApiDataLists implements ListsSearchInterface
})
->select()
->toArray();
dd((new Approve())->getLastSql());
return [];
}