package com.zyc.system.mapper;

import java.util.List;
import com.zyc.system.domain.DisasterRecoveryServices;

/**
 * 灾备服务Mapper接口
 * 
 * @author zyc
 * @date 2024-12-26
 */
public interface DisasterRecoveryServicesMapper 
{
    /**
     * 查询灾备服务
     * 
     * @param id 灾备服务主键
     * @return 灾备服务
     */
    public DisasterRecoveryServices selectDisasterRecoveryServicesById(Integer id);

    /**
     * 查询灾备服务列表
     * 
     * @param disasterRecoveryServices 灾备服务
     * @return 灾备服务集合
     */
    public List<DisasterRecoveryServices> selectDisasterRecoveryServicesList(DisasterRecoveryServices disasterRecoveryServices);

    /**
     * 新增灾备服务
     * 
     * @param disasterRecoveryServices 灾备服务
     * @return 结果
     */
    public int insertDisasterRecoveryServices(DisasterRecoveryServices disasterRecoveryServices);

    /**
     * 修改灾备服务
     * 
     * @param disasterRecoveryServices 灾备服务
     * @return 结果
     */
    public int updateDisasterRecoveryServices(DisasterRecoveryServices disasterRecoveryServices);

    /**
     * 删除灾备服务
     * 
     * @param id 灾备服务主键
     * @return 结果
     */
    public int deleteDisasterRecoveryServicesById(Integer id);

    /**
     * 批量删除灾备服务
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDisasterRecoveryServicesByIds(Integer[] ids);
}
