package com.zksy.dispatch.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zksy.dispatch.domain.DisEventReport;
import com.zksy.dispatch.dto.EventReportPageInDTO;

/**
 * 接报管理服务接口
 */
public interface DisEventReportService extends IService<DisEventReport> {

    /**
     * 分页查询接报记录
     */
    Page<DisEventReport> findByPage(EventReportPageInDTO dto);

    /**
     * 受理接报
     */
    boolean accept(Long id);

    /**
     * 驳回接报
     */
    boolean reject(Long id, String remark);
}
