根据id获取某一类的最大最小值
->selectRaw('max(marking_price) as maxPrice, min(marking_price) as minPrice, product_id')
->groupBy('product_id')
->selectRaw('max(marking_price) as maxPrice, min(marking_price) as minPrice, product_id')
->groupBy('product_id')