package lingtao.net.dao; import java.util.List; import lingtao.net.bean.Article; import lingtao.net.bean.ArticleExample; import org.apache.ibatis.annotations.Param; public interface ArticleMapper { long countByExample(ArticleExample example); int deleteByExample(ArticleExample example); int deleteByPrimaryKey(Integer id); int insert(Article record); int insertSelective(Article record); List
selectByExampleWithBLOBs(ArticleExample example); List
selectByExample(ArticleExample example); Article selectByPrimaryKey(Integer id); int updateByExampleSelective(@Param("record") Article record, @Param("example") ArticleExample example); int updateByExampleWithBLOBs(@Param("record") Article record, @Param("example") ArticleExample example); int updateByExample(@Param("record") Article record, @Param("example") ArticleExample example); int updateByPrimaryKeySelective(Article record); int updateByPrimaryKeyWithBLOBs(Article record); int updateByPrimaryKey(Article record); List
getArticle(Article article); }