|
@@ -88,8 +88,6 @@ public class GiftCardGoodsSkuServiceImpl extends ServiceImpl<GiftCardGoodsSkuMap
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
this.saveOrUpdate(data);
|
|
this.saveOrUpdate(data);
|
|
|
- //设置对应礼品卡平台 最低价格
|
|
|
|
|
- setGiftCardGoodsStat(goodsDon);
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
@@ -117,7 +115,7 @@ public class GiftCardGoodsSkuServiceImpl extends ServiceImpl<GiftCardGoodsSkuMap
|
|
|
.eq(GiftCardGoodsSku::getDeleted, true)
|
|
.eq(GiftCardGoodsSku::getDeleted, true)
|
|
|
.orderByAsc(GiftCardGoodsSku::getPrice).last("limit 1"));
|
|
.orderByAsc(GiftCardGoodsSku::getPrice).last("limit 1"));
|
|
|
if (min != null) {
|
|
if (min != null) {
|
|
|
- if (minPrice == null || minPrice.compareTo(min.getPrice()) > 0) {
|
|
|
|
|
|
|
+ if (minPrice == null || min.getPrice().compareTo(minPrice) != 0) {
|
|
|
goodsDon.setMinPrice(min.getPrice());
|
|
goodsDon.setMinPrice(min.getPrice());
|
|
|
goodsDonMapper.updateById(goodsDon);
|
|
goodsDonMapper.updateById(goodsDon);
|
|
|
Set<String> keys = redisService.keys(RedisService.key.YH_HOME_PAGHE_CACHE.getName() + "*");
|
|
Set<String> keys = redisService.keys(RedisService.key.YH_HOME_PAGHE_CACHE.getName() + "*");
|