searchWhere) ->with(['fenceHousrAttr']) ->limit($this->limitOffset, $this->limitLength) ->order(['id' => 'desc']) ->select() ->toArray(); } /** * @notes 获取数量 * @return int * @author likeadmin * @date 2023/11/24 16:17 */ public function count(): int { return MonitorThreshold::where($this->searchWhere)->count(); } }