request->userInfo['supplier']['id']; if(!$supplier_id) return []; return OpurchaseGoodsOffer::where($this->searchWhere)->where('supplier_id',$supplier_id) ->limit($this->limitOffset, $this->limitLength) ->order(['id' => 'desc']) ->select() ->toArray(); } /** * @notes 获取采购供应链商户报价数量 * @return int * @date 2024/04/27 11:26 */ public function count(): int { return OpurchaseGoodsOffer::where($this->searchWhere)->count(); } }