package com.yeshi.fanli.dao.mybatis.push; import java.util.List; import com.yeshi.fanli.entity.push.PushGoodsGroup; public interface PushGoodsGroupMapper { int deleteByPrimaryKey(Long id); int insert(PushGoodsGroup record); int insertSelective(PushGoodsGroup record); PushGoodsGroup selectByPrimaryKey(Long id); int updateByPrimaryKeySelective(PushGoodsGroup record); int updateByPrimaryKey(PushGoodsGroup record); /** * 根据推送id统计 * @param pushId * @return */ long countByPushId(Long pushId); /** * 根据推送id删除商品 * @param pushId * @return */ int deleteByPushId(Long pushId); /** * 根据推送id查询商品 * @param pushId * @return */ List selectByPushId(Long pushId); /** * 根据推送id查询商品所有信息 * @param pushId * @return */ List getAllInfoByPushId(Long pushId); /** * 批量插入 * @param list * @return */ int insertBatch(List list); /** * 批量删除 * @param list * @return */ int deleteBatchByPrimaryKey(List list); /** * 批量删除 根据推送id * @param list * @return */ int deleteBatchByPushId(List list); }