update
This commit is contained in:
parent
dc6429c464
commit
ec5d57c69b
|
@ -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'])
|
||||||
|
|
Loading…
Reference in New Issue