ApiCartMapper.java 860 B

12345678910111213141516171819202122232425
  1. package com.kmall.api.dao;
  2. import com.kmall.api.entity.CartVo;
  3. import org.apache.ibatis.annotations.Param;
  4. import com.kmall.common.dao.BaseDao;
  5. import org.springframework.stereotype.Component;
  6. import java.util.List;
  7. /**
  8. * @author Scott
  9. * @email
  10. * @date 2017-08-11 09:14:25
  11. */
  12. @Component
  13. public interface ApiCartMapper extends BaseDao<CartVo> {
  14. void updateCheck(@Param("productIds") String[] productIds,
  15. @Param("isChecked") Integer isChecked, @Param("user_id") Long userId, @Param("store_id") Long store_id);
  16. void deleteByProductIds(@Param("productIds") String[] productIds, @Param("store_id") Long store_id);
  17. void deleteByCart(@Param("user_id") Long user_id, @Param("store_id") Long store_id, @Param("checked") Integer checked);
  18. List<CartVo> queryCartByGoodsBizType(@Param("goodsBizType") String goodsBizType);
  19. }