根据id获取某一类的最大最小值时间:2024-05-18 16:35:38 ->selectRaw('max(marking_price) as maxPrice, min(marking_price) as minPrice, product_id') ->groupBy('product_id')