商品模块代码提交
This commit is contained in:
parent
5ef09c4906
commit
e33f58cb8d
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue