/*
 * Author: wangjian
 * 生成Service
 */
package com.tofly.xrtygis.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tofly.xrtygis.custom.entity.dma.CostomEval;
import com.tofly.xrtygis.custom.entity.dma.CostomWarn;
import com.tofly.xrtygis.custom.entity.dma.DmawarnhandleDto;
import com.tofly.xrtygis.entity.Dmawarnhandle;

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

/**
 * 异常处理信息表：TF_YWPN_DMAWARNHANDLE_W
 *
 * @author admin
 * @date Wed Mar 10 00:00:00 CST 2021
 */
public interface DmawarnhandleService extends IService<Dmawarnhandle> {

    IPage getWarn(HttpServletResponse response , Page page, CostomWarn costomWarn);

    boolean warnHandle(DmawarnhandleDto dmawarnhandle);

    Map analyze(CostomWarn costomWarn);

    IPage resultEval(HttpServletResponse response, Page page, CostomEval costomEval);

    /**
     * dma工单查询
     * @param page  page
     * @param start start
     * @param end end
     * @return page
     */
    Page workOrderQuery(Page page,String start,String end);
}
