package com.javaweb.spider.service; import com.javaweb.spider.domain.SpiderConfig; import java.util.List; /** * 爬虫配置Service接口 * * @author wujiyue * @date 2019-11-11 */ public interface ISpiderConfigService { /** * 查询爬虫配置 * * @param id 爬虫配置ID * @return 爬虫配置 */ public SpiderConfig selectSpiderConfigById(Long id); /** * 查询爬虫配置 * * @param code 爬虫配置编码 * @return 爬虫配置 */ public SpiderConfig selectSpiderConfigByCode(String code); /** * 查询爬虫配置列表 * * @param spiderConfig 爬虫配置 * @return 爬虫配置集合 */ public List selectSpiderConfigList(SpiderConfig spiderConfig); /** * 新增爬虫配置 * * @param spiderConfig 爬虫配置 * @return 结果 */ public int insertSpiderConfig(SpiderConfig spiderConfig); /** * 修改爬虫配置 * * @param spiderConfig 爬虫配置 * @return 结果 */ public int updateSpiderConfig(SpiderConfig spiderConfig); /** * 批量删除爬虫配置 * * @param ids 需要删除的数据ID * @return 结果 */ public int deleteSpiderConfigByIds(String ids); /** * 删除爬虫配置信息 * * @param id 爬虫配置ID * @return 结果 */ public int deleteSpiderConfigById(Long id); }