商品模块代码提交
This commit is contained in:
@@ -288,7 +288,7 @@ public class ProductServiceImpl extends ServiceImpl<ProductMapper, Product> impl
|
||||
UpdateChain.of(ProdSku.class)
|
||||
.set(ProdSku::getIsGrounding, isSale)
|
||||
.eq(ProdSku::getId, id)
|
||||
.eq(Product::getShopId, shopId)
|
||||
.eq(ProdSku::getShopId, shopId)
|
||||
.update();
|
||||
if (ProductIsSaleTypeEnum.PRODUCT.value().equals(type)) {
|
||||
UpdateChain.of(Product.class)
|
||||
|
||||
Reference in New Issue
Block a user