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