...
|
...
|
@@ -505,6 +505,9 @@ public class ProductController { |
|
|
cacheAop.clearCache(
|
|
|
ProductController.class.getMethod("queryProductDetailById", new Class[]{Integer.class}),
|
|
|
new Object[]{productId});
|
|
|
cacheAop.clearCache(
|
|
|
ProductController.class.getMethod("queryProductInStockNewBriefById", new Class[]{Integer.class}),
|
|
|
new Object[]{productId});
|
|
|
} catch (Exception e) {
|
|
|
LOG.error("删除商品详情缓存失败!", e);
|
|
|
}
|
...
|
...
|
@@ -526,6 +529,9 @@ public class ProductController { |
|
|
cacheAop.clearCache(
|
|
|
ProductController.class.getMethod("queryProductDetailById", new Class[]{Integer.class}),
|
|
|
new Object[]{productId});
|
|
|
cacheAop.clearCache(
|
|
|
ProductController.class.getMethod("queryProductInStockNewBriefById", new Class[]{Integer.class}),
|
|
|
new Object[]{productId});
|
|
|
}
|
|
|
}
|
|
|
if (CollectionUtils.isNotEmpty(storageIdList)) {
|
...
|
...
|
|