ApiCartMapper.java 749 B

123456789101112131415161718192021
  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. /**
  7. * @author Scott
  8. * @email
  9. * @date 2017-08-11 09:14:25
  10. */
  11. @Component
  12. public interface ApiCartMapper extends BaseDao<CartVo> {
  13. void updateCheck(@Param("productIds") String[] productIds,
  14. @Param("isChecked") Integer isChecked, @Param("user_id") Long userId, @Param("store_id") Long store_id);
  15. void deleteByProductIds(@Param("productIds") String[] productIds, @Param("store_id") Long store_id);
  16. void deleteByCart(@Param("user_id") Long user_id, @Param("store_id") Long store_id, @Param("checked") Integer checked);
  17. }