This commit is contained in:
chenbo 2024-01-30 13:52:58 +08:00
parent 12531f055b
commit 061b8c9489
3 changed files with 3 additions and 3 deletions

View File

@ -57,7 +57,7 @@ class OperationFeedingLogLists extends BaseDataLists implements ListsSearchInter
{
return OperationFeedingLog::where($this->searchWhere)
->with(['fenceHouseAttr', 'animalInfo'])
->field(['id', 'animal_info_id', 'fence_house_id', 'feed_type', 'feed_brand', 'feed_consumption', 'operator', 'image', 'remark'])
->field(['id', 'animal_info_id', 'fence_house_id', 'feed_type', 'feed_brand', 'feed_consumption', 'operator', 'pic', 'remark'])
->limit($this->limitOffset, $this->limitLength)
->order(['id' => 'desc'])
->select()

View File

@ -57,7 +57,7 @@ class OperationVaccinumLogLists extends BaseDataLists implements ListsSearchInte
{
return OperationVaccinumLog::where($this->searchWhere)
->with(['fenceHouseAttr', 'animalInfo'])
->field(['id', 'fence_house_id', 'animal_info_id', 'vaccine_name', 'vaccine_manufacturers', 'vaccine_batch', 'vaccination_method', 'vaccination_site', 'immune_validity_period', 'operator', 'image', 'remark'])
->field(['id', 'fence_house_id', 'animal_info_id', 'vaccine_name', 'vaccine_manufacturers', 'vaccine_batch', 'vaccination_method', 'vaccination_site', 'immune_validity_period', 'operator', 'pic', 'remark'])
->limit($this->limitOffset, $this->limitLength)
->order(['id' => 'desc'])
->select()

View File

@ -38,7 +38,7 @@ class OperationWaterLogLists extends BaseDataLists implements ListsSearchInterfa
public function setSearch(): array
{
return [
'=' => ['animal_info_id', 'fence_house_id', 'water_consumption', 'operator', 'image', 'remark'],
'=' => ['animal_info_id', 'fence_house_id', 'water_consumption', 'operator', 'pic', 'remark'],
];
}