联动 上下架
This commit is contained in:
@@ -725,7 +725,7 @@ public class ProductServiceImpl extends ServiceImpl<ProductMapper, Product> impl
|
||||
prodSkuMapper.update(prodSku);
|
||||
long normalCount = prodSkuMapper.selectCountByQuery(QueryWrapper.create()
|
||||
.eq(ProdSku::getProductId, prodSku.getProductId())
|
||||
.eq(ProdSku::getIsGrounding, SystemConstants.OneZero.ZERO)
|
||||
.eq(ProdSku::getIsGrounding, SystemConstants.OneZero.ONE)
|
||||
.eq(ProdSku::getIsDel, SystemConstants.OneZero.ZERO)
|
||||
);
|
||||
Product product = mapper.selectOneById(prodId);
|
||||
|
||||
Reference in New Issue
Block a user