商品售罄开关
This commit is contained in:
@@ -717,6 +717,7 @@ public class ProductServiceImpl extends ServiceImpl<ProductMapper, Product> impl
|
||||
Product update = new Product();
|
||||
update.setIsAutoSoldStock(param.getIsAutoSoldStock());
|
||||
update(update, query().eq(Product::getId, param.getId()).eq(Product::getShopId, shopId));
|
||||
clearProductCache(entity.getCategoryId());
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user