|
|
@@ -1641,7 +1641,7 @@ public class ProductBaseServiceImpl extends ServiceImpl<ProductBaseMapper, Produ
|
|
|
LambdaQueryWrapper<ProductShoppingCart> lqw = Wrappers.lambdaQuery(ProductShoppingCart.class);
|
|
|
lqw.eq(ProductShoppingCart::getUserId, userId);
|
|
|
if (ObjectUtil.isNotEmpty(id)) {
|
|
|
- lqw.eq(ProductShoppingCart::getId, id.split(","));
|
|
|
+ lqw.in(ProductShoppingCart::getId, id.split(","));
|
|
|
}
|
|
|
Page<ProductShoppingCart> productShoppingCartPage = productShoppingCartMapper.selectPage(pageQuery.build(), lqw);
|
|
|
if (CollUtil.isNotEmpty(productShoppingCartPage.getRecords())) {
|