package cn.songjhh.project.mapper.blog; import cn.songjhh.project.po.blog.Blog; import cn.songjhh.project.po.blog.BlogExample; import org.apache.ibatis.annotations.Param; import java.util.List; public interface BlogMapper { int countByExample(BlogExample example); int deleteByExample(BlogExample example); int deleteByPrimaryKey(Integer id); int insert(Blog record); int insertSelective(Blog record); List<Blog> selectByExampleWithBLOBs(BlogExample example); List<Blog> selectByExample(BlogExample example); Blog selectByPrimaryKey(Integer id); int updateByExampleSelective(@Param("record") Blog record, @Param("example") BlogExample example); int updateByExampleWithBLOBs(@Param("record") Blog record, @Param("example") BlogExample example); int updateByExample(@Param("record") Blog record, @Param("example") BlogExample example); int updateByPrimaryKeySelective(Blog record); int updateByPrimaryKeyWithBLOBs(Blog record); int updateByPrimaryKey(Blog record); }