...
|
...
|
@@ -92,11 +92,11 @@ public class StoragePriceService { |
|
|
});
|
|
|
}
|
|
|
|
|
|
public boolean reSetStoragePriceCache(StoragePriceUpdateEvent storagePriceUpdateEvent) {
|
|
|
/*public boolean reSetStoragePriceCache(StoragePriceUpdateEvent storagePriceUpdateEvent) {
|
|
|
Integer productId = storagePriceUpdateEvent.getProductId();
|
|
|
setStoragePriceCache(productId);
|
|
|
return true;
|
|
|
}
|
|
|
}*/
|
|
|
|
|
|
public void publishPriceUpdateEventIf(Integer productId, Predicate<List<StoragePrice>> predicate) {
|
|
|
List<StoragePrice> sizePriceCacheList = productCacheService.getListCacheByString(UfoProductCacheKeyEnum.STORAGE_PRICE_IN_STOCK_INFO_KEY, StoragePrice.class, productId);
|
...
|
...
|
|