diff --git a/app/common/repositories/store/product/ProductRepository.php b/app/common/repositories/store/product/ProductRepository.php index c6382276..dd4a11df 100644 --- a/app/common/repositories/store/product/ProductRepository.php +++ b/app/common/repositories/store/product/ProductRepository.php @@ -327,11 +327,7 @@ class ProductRepository extends BaseRepository if(!empty($settleParams['attrValue'])){ $wholesalePrices = array_column($settleParams['attrValue'], 'wholesale_price'); $minWholesalePrice = min($wholesalePrices); - - if($product['wholesale_price'] > $minWholesalePrice){ - $product['wholesale_price'] =$minWholesalePrice; - } - + $product['wholesale_price'] =$minWholesalePrice; } return Db::transaction(function () use ($id, $data, $productType, $settleParams, $content, $product, $spuData, $merId) {