添加报警记录开始时间查询
parent
fcfe58245c
commit
c790e8b39a
|
|
@ -19,4 +19,8 @@ class DeviceWarningFilter extends ModelFilter
|
|||
{
|
||||
return $this->where('status', $status);
|
||||
}
|
||||
|
||||
public function stratTime($startTime){
|
||||
return $this->where('created_at', '>=', $startTime);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue