|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public ShopShoppingCart  selectById(Integer cartId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public List<ShopShoppingCart> selectByCartUserId(@Param("shopId")Long shopId, @Param("cartUserId") String cartUserId,@Param("cartType") Integer cartType); | 
|---|
|  |  |  | public List<ShopShoppingCart> selectByCartUserId(@Param("shopId")Long shopId, @Param("cartUserId") Long cartUserId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public ShopShoppingCart  selectForUpdate(Integer cartId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public ShopShoppingCart selectBuyLimit(@Param("cartProductId") Integer cartProductId,@Param("cartSkuId") Integer cartSkuId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public Integer selectUserCartCount(@Param("shopId")Long shopId, @Param("openId")String openId,@Param("cartType") Integer cartType); | 
|---|
|  |  |  | public Integer selectUserCartCount(@Param("shopId")Long shopId, @Param("userId")Long userId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public int updateAllSelected(@Param("openId") String openId, @Param("shopId") Long shopId,  @Param("isSelected") Integer isSelected,@Param("cartType") Integer cartType); | 
|---|
|  |  |  | public int updateAllSelected(@Param("openId") String openId, @Param("shopId") Long shopId,  @Param("isSelected") Integer isSelected); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 删除用户选中的购物车明细 | 
|---|