This commit is contained in:
chenbo 2024-01-31 10:13:00 +08:00
parent dc6429c464
commit ec5d57c69b
1 changed files with 0 additions and 1 deletions

View File

@ -56,7 +56,6 @@ class AnimalInfoLists extends BaseApiDataLists implements ListsSearchInterface
public function lists(): array public function lists(): array
{ {
return AnimalInfo::where($this->searchWhere) return AnimalInfo::where($this->searchWhere)
->field(['id', 'fence_house_id', 'sn', 'animal_type', 'brand', 'physi_stage', 'gender', 'blood_purity', 'animal_source', 'current_estimation', 'algebra', 'birth', 'entry_date', 'birth_estimation', 'health_condition'])
->with(['fenceHouseAttr']) ->with(['fenceHouseAttr'])
->limit($this->limitOffset, $this->limitLength) ->limit($this->limitOffset, $this->limitLength)
->order(['id' => 'desc']) ->order(['id' => 'desc'])