package com.matrix.system.hive.service;
|
|
import java.util.List;
|
|
import com.matrix.core.pojo.PaginationVO;
|
import com.matrix.system.hive.bean.ArticleType;
|
import com.matrix.system.hive.plugin.util.BaseServices;
|
|
|
/**
|
*
|
* @date 2016-07-15 11:19
|
*/
|
public interface ArticleTypeService extends BaseServices<ArticleType> {
|
|
/**
|
* 新增ArticleType
|
*
|
*/
|
public int add(ArticleType articleType);
|
|
/**
|
* 更新ArticleType
|
*
|
*/
|
public int modify(ArticleType articleType);
|
|
/**
|
* 批量删除ArticleType
|
*
|
*/
|
public int remove(List<Long> list);
|
|
/**
|
* 根据id删除ArticleType
|
*
|
*/
|
public int removeById(Long id);
|
|
/**
|
* 分页查询ArticleType
|
*
|
*/
|
public List<ArticleType> findInPage(ArticleType articleType, PaginationVO pageVo);
|
|
/**
|
* 根据对象查询ArticleType
|
*
|
*/
|
public List<ArticleType> findByModel(ArticleType articleType);
|
|
/**
|
* 统计记录数ArticleType
|
*
|
*/
|
public int findTotal(ArticleType articleType);
|
|
/**
|
* 根据id查询ArticleType
|
*
|
*/
|
public ArticleType findById(Long id);
|
|
|
|
|
}
|