增加商品库存redis缓存 & 库存变动发送rabbit消息
This commit is contained in:
parent
8ab758fac9
commit
2688efc638
|
|
@ -412,7 +412,7 @@ public class ProductServiceImpl extends ServiceImpl<ProductMapper, Product> impl
|
|||
// 清除旧分类缓存&新分类缓存
|
||||
clearProductCache(old.getCategoryId(), entity.getCategoryId());
|
||||
}else {
|
||||
clearProductCache(entity.getCategoryId());
|
||||
clearProductCache(old.getCategoryId());
|
||||
}
|
||||
List<ProdSkuDTO> skuList = dto.getSkuList();
|
||||
// 商品SKU-ID列表
|
||||
|
|
|
|||
Loading…
Reference in New Issue