package com.yeshi.fanli.service.impl.push; import java.util.List; import javax.annotation.Resource; import org.springframework.stereotype.Service; import com.yeshi.fanli.dao.mybatis.push.PushGoodsGroupMapper; import com.yeshi.fanli.entity.push.PushGoodsGroup; import com.yeshi.fanli.exception.push.PushGoodsGroupException; import com.yeshi.fanli.service.inter.push.PushGoodsGroupService; @Service public class PushGoodsGroupServiceImpl implements PushGoodsGroupService { @Resource private PushGoodsGroupMapper pushGoodsGroupMapper; @Override public int deleteByPrimaryKey(Long id) throws PushGoodsGroupException { return pushGoodsGroupMapper.deleteByPrimaryKey(id); } @Override public int insert(PushGoodsGroup record) throws PushGoodsGroupException { return pushGoodsGroupMapper.insert(record); } @Override public int insertSelective(PushGoodsGroup record) throws PushGoodsGroupException { return pushGoodsGroupMapper.insertSelective(record); } @Override public PushGoodsGroup selectByPrimaryKey(Long id) throws PushGoodsGroupException { return pushGoodsGroupMapper.selectByPrimaryKey(id); } @Override public int updateByPrimaryKeySelective(PushGoodsGroup record) throws PushGoodsGroupException { return pushGoodsGroupMapper.updateByPrimaryKeySelective(record); } @Override public int updateByPrimaryKey(PushGoodsGroup record) throws PushGoodsGroupException { return pushGoodsGroupMapper.updateByPrimaryKey(record); } @Override public int deleteByPushId(Long pushId) throws PushGoodsGroupException { return pushGoodsGroupMapper.deleteByPushId(pushId); } @Override public int insertBatch(List list) throws PushGoodsGroupException { return pushGoodsGroupMapper.insertBatch(list); } @Override public List selectByPushId(Long pushId) throws PushGoodsGroupException { return pushGoodsGroupMapper.selectByPushId(pushId); } @Override public int deleteBatchByPrimaryKey(List list) throws PushGoodsGroupException { return pushGoodsGroupMapper.deleteBatchByPrimaryKey(list); } @Override public int deleteBatchByPushId(List list) throws PushGoodsGroupException { return pushGoodsGroupMapper.deleteBatchByPushId(list); } @Override public long countByPushId(Long pushId) { return pushGoodsGroupMapper.countByPushId(pushId); } @Override public List getAllInfoByPushId(Long pushId) throws PushGoodsGroupException { return pushGoodsGroupMapper.getAllInfoByPushId(pushId); } }