添加产量季度搜索
parent
7f1d7de2ef
commit
fcfe58245c
|
|
@ -13,6 +13,10 @@ class CropYieldFilter extends ModelFilter
|
|||
return $this->where('time_year', $y);
|
||||
}
|
||||
|
||||
public function quarter($quarter){
|
||||
return $this->where('quarter', $quarter);
|
||||
}
|
||||
|
||||
public function crop($cropId)
|
||||
{
|
||||
return $this->where('crop_id', $cropId);
|
||||
|
|
|
|||
Loading…
Reference in New Issue