add
This commit is contained in:
parent
12531f055b
commit
061b8c9489
|
@ -57,7 +57,7 @@ class OperationFeedingLogLists extends BaseDataLists implements ListsSearchInter
|
||||||
{
|
{
|
||||||
return OperationFeedingLog::where($this->searchWhere)
|
return OperationFeedingLog::where($this->searchWhere)
|
||||||
->with(['fenceHouseAttr', 'animalInfo'])
|
->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)
|
->limit($this->limitOffset, $this->limitLength)
|
||||||
->order(['id' => 'desc'])
|
->order(['id' => 'desc'])
|
||||||
->select()
|
->select()
|
||||||
|
|
|
@ -57,7 +57,7 @@ class OperationVaccinumLogLists extends BaseDataLists implements ListsSearchInte
|
||||||
{
|
{
|
||||||
return OperationVaccinumLog::where($this->searchWhere)
|
return OperationVaccinumLog::where($this->searchWhere)
|
||||||
->with(['fenceHouseAttr', 'animalInfo'])
|
->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)
|
->limit($this->limitOffset, $this->limitLength)
|
||||||
->order(['id' => 'desc'])
|
->order(['id' => 'desc'])
|
||||||
->select()
|
->select()
|
||||||
|
|
|
@ -38,7 +38,7 @@ class OperationWaterLogLists extends BaseDataLists implements ListsSearchInterfa
|
||||||
public function setSearch(): array
|
public function setSearch(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'=' => ['animal_info_id', 'fence_house_id', 'water_consumption', 'operator', 'image', 'remark'],
|
'=' => ['animal_info_id', 'fence_house_id', 'water_consumption', 'operator', 'pic', 'remark'],
|
||||||
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue