NewsMapper.java 678 B

12345678910111213141516171819202122232425262728293031
  1. package com.goafanti.common.dao;
  2. import java.util.List;
  3. import java.util.Map;
  4. import com.goafanti.common.model.News;
  5. import com.goafanti.news.bo.NewsPortalList;
  6. import com.goafanti.news.bo.NewsSummary;
  7. public interface NewsMapper {
  8. int deleteByPrimaryKey(Long id);
  9. int insert(News record);
  10. int insertSelective(News record);
  11. News selectByPrimaryKey(Long id);
  12. int updateByPrimaryKeySelective(News record);
  13. int updateByPrimaryKeyWithBLOBs(News record);
  14. int updateByPrimaryKey(News record);
  15. List<NewsSummary> findList(Map<String, Object> params);
  16. int batchDeleteByPrimaryKey(List<String> id);
  17. List<NewsPortalList> findPortalList(Map<String, Object> params);
  18. }