|
|
@@ -117,7 +117,7 @@ public class GiftCardGoodsSkuServiceImpl extends ServiceImpl<GiftCardGoodsSkuMap
|
|
|
.eq(GiftCardGoodsSku::getDeleted, true)
|
|
|
.orderByAsc(GiftCardGoodsSku::getPrice).last("limit 1"));
|
|
|
if (min != null) {
|
|
|
- if (minPrice == null || minPrice.compareTo(min.getPrice()) < 0) {
|
|
|
+ if (minPrice == null || minPrice.compareTo(min.getPrice()) > 0) {
|
|
|
goodsDon.setMinPrice(min.getPrice());
|
|
|
goodsDonMapper.updateById(goodsDon);
|
|
|
Set<String> keys = redisService.keys(RedisService.key.YH_HOME_PAGHE_CACHE.getName() + "*");
|