NewsMapper.java 519 B

1234567891011121314151617181920212223242526
  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.NewsSummary;
  6. public interface NewsMapper {
  7. int deleteByPrimaryKey(Long id);
  8. int insert(News record);
  9. int insertSelective(News record);
  10. News selectByPrimaryKey(Long id);
  11. int updateByPrimaryKeySelective(News record);
  12. int updateByPrimaryKeyWithBLOBs(News record);
  13. int updateByPrimaryKey(News record);
  14. List<NewsSummary> findList(Map<String, Object> params);
  15. }