This commit is contained in:
chenbo 2024-02-27 16:01:05 +08:00
parent b25848903b
commit 4d9b87eeab

View File

@ -39,6 +39,7 @@ class DataReceptionLists extends BaseAdminDataLists implements ListsSearchInterf
{ {
return [ return [
'=' => ['num', 'project', 'project_num'], '=' => ['num', 'project', 'project_num'],
]; ];
} }
@ -55,7 +56,6 @@ class DataReceptionLists extends BaseAdminDataLists implements ListsSearchInterf
public function lists(): array public function lists(): array
{ {
return DataReception::where($this->searchWhere) return DataReception::where($this->searchWhere)
->field(['id', 'dataid', 'num', 'project', 'project_num', 'apptime', 'person', 'number', 'position', 'tips'])
->limit($this->limitOffset, $this->limitLength) ->limit($this->limitOffset, $this->limitLength)
->order(['id' => 'desc']) ->order(['id' => 'desc'])
->select() ->select()