package com.yuchen.saas.park.service.service.elevator;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yuchen.saas.device.api.dto.IdDto;
import com.yuchen.saas.park.api.dto.repair.SaasMatterRepairDispatchDto;
import com.yuchen.saas.park.api.entity.elevator.SaasParkElevatorMonitorAlarmRecords;
import com.yuchen.saas.park.api.request.ElevatorMonitorAlarmRecordRequest;
import com.yuchen.saas.park.api.response.SaasParkElevatorMonitorAlarmRecordsResponse;
import org.nest.springwrap.core.mp.support.Query;
import org.nest.springwrap.core.tool.api.R;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * <p>
 * 梯控-告警 服务类
 * </p>
 *
 * @author baichaojie
 * @since 2024-06-24
 */
public interface ISaasParkElevatorMonitorAlarmRecordsService extends IService<SaasParkElevatorMonitorAlarmRecords> {

    R<IPage<SaasParkElevatorMonitorAlarmRecordsResponse>> alarmList(ElevatorMonitorAlarmRecordRequest elevatorMonitorAlarmRecordRequest, Query query);

    void updateRepaire(SaasMatterRepairDispatchDto dispatchDto);

    void close(IdDto id);

    void closeBatch(List<Long> ids);

    void exportAlarmRecordsData(ElevatorMonitorAlarmRecordRequest elevatorMonitorAlarmRecordRequest, HttpServletResponse response);


}
