yujian
2020-01-18 f4a0f2acc63d7785eab108419a4e16f5f688cb95
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/push/PushGoodsGroupMapper.java
@@ -1,71 +1,71 @@
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);
}