| | |
| | | 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<PushGoodsGroup> selectByPushId(Long pushId); |
| | | |
| | | /** |
| | | * 根据推送id查询商品所有信息 |
| | | * @param pushId |
| | | * @return |
| | | */ |
| | | List<PushGoodsGroup> getAllInfoByPushId(Long pushId); |
| | | |
| | | /** |
| | | * 批量插入 |
| | | * @param list |
| | | * @return |
| | | */ |
| | | int insertBatch(List<PushGoodsGroup> list); |
| | | |
| | | /** |
| | | * 批量删除 |
| | | * @param list |
| | | * @return |
| | | */ |
| | | int deleteBatchByPrimaryKey(List<Long> list); |
| | | |
| | | /** |
| | | * 批量删除 根据推送id |
| | | * @param list |
| | | * @return |
| | | */ |
| | | int deleteBatchByPushId(List<Long> list); |
| | | |
| | | 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<PushGoodsGroup> selectByPushId(Long pushId);
|
| | | |
| | | /**
|
| | | * 根据推送id查询商品所有信息
|
| | | * @param pushId
|
| | | * @return
|
| | | */
|
| | | List<PushGoodsGroup> getAllInfoByPushId(Long pushId);
|
| | | |
| | | /**
|
| | | * 批量插入
|
| | | * @param list
|
| | | * @return
|
| | | */
|
| | | int insertBatch(List<PushGoodsGroup> list);
|
| | | |
| | | /**
|
| | | * 批量删除
|
| | | * @param list
|
| | | * @return
|
| | | */
|
| | | int deleteBatchByPrimaryKey(List<Long> list);
|
| | | |
| | | /**
|
| | | * 批量删除 根据推送id
|
| | | * @param list
|
| | | * @return
|
| | | */
|
| | | int deleteBatchByPushId(List<Long> list);
|
| | | |
| | | } |