|
|
@@ -172,10 +172,8 @@ public class CmsGoodsDonSkuController {
|
|
|
BigDecimal oldPrice = dbSku.getPrice();
|
|
|
BigDecimal newPrice = sku.getPrice();
|
|
|
//规格变化
|
|
|
- if (newPrice.compareTo(oldPrice) != 0) {
|
|
|
- //下架店铺不在平台设置的价格区间
|
|
|
- goodsDonSkuService.setBelowPriceShopSkuDown(skuId, newPrice);
|
|
|
- }
|
|
|
+ //下架店铺不在平台设置的价格区间
|
|
|
+ goodsDonSkuService.setBelowPriceShopSkuDown(skuId, newPrice);
|
|
|
refreshCacheService.refreshYhHomePageCache();
|
|
|
return GatewayResponse.SUCCESS.newBuilder().toResult();
|
|
|
}
|