package com.kmall.api.dao; import com.kmall.api.entity.CartVo; import org.apache.ibatis.annotations.Param; import com.kmall.common.dao.BaseDao; import org.springframework.stereotype.Component; import java.util.List; /** * @author Scott * @email * @date 2017-08-11 09:14:25 */ @Component public interface ApiCartMapper extends BaseDao { void updateCheck(@Param("productIds") String[] productIds, @Param("isChecked") Integer isChecked, @Param("user_id") Long userId, @Param("store_id") Long store_id); void deleteByProductIds(@Param("productIds") String[] productIds, @Param("store_id") Long store_id); void deleteByCart(@Param("user_id") Long user_id, @Param("store_id") Long store_id, @Param("checked") Integer checked); List queryCartByGoodsBizType(@Param("goodsBizType") String goodsBizType); }