历史订单查询-未完成
This commit is contained in:
parent
cf015bbe60
commit
d72592000d
|
@ -36,7 +36,7 @@ public class ShoppingCartServiceImplImpl implements ShoppingCartService {
|
|||
public void addShoppingCart(ShoppingCartDTO shoppingCartDTO) {
|
||||
ShoppingCart shoppingCart = new ShoppingCart();
|
||||
BeanUtils.copyProperties(shoppingCartDTO, shoppingCart);
|
||||
// 获取当前id
|
||||
// 获取当前 id
|
||||
Long userId = BaseContext.getCurrentId();
|
||||
shoppingCart.setUserId(userId);
|
||||
// 判断当前插入的购物车商品是否存在
|
||||
|
|
Loading…
Reference in New Issue