package com.casic.missiles.service.business;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.casic.missiles.dto.ReturnDTO;
import com.casic.missiles.dto.business.siteExecutive.BusinessSiteExecutiveLogDetail;
import com.casic.missiles.dto.business.siteExecutive.SiteExecuteLogRequest;
import com.casic.missiles.dto.customer.Info.CustomerListRequest;
import com.casic.missiles.model.business.BusinessSiteExecutiveLog;

import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 * 现场检测记录表 服务类
 * </p>
 *
 * @author wangpeng
 * @since 2023-03-23
 */
public interface IBusinessSiteExecutiveLogService extends IService<BusinessSiteExecutiveLog> {

    ReturnDTO addSiteExecutiveLog(BusinessSiteExecutiveLog siteExecutiveLog);

    ReturnDTO deleteSiteExecutiveLog(Long id);

    ReturnDTO updateSiteExecutiveLog(BusinessSiteExecutiveLog businessSiteExecutiveLog);

    BusinessSiteExecutiveLogDetail siteExecutiveLogDetail(Long id)throws Exception;

    Page<BusinessSiteExecutiveLog> siteExecutiveLogListPage(Page<BusinessSiteExecutiveLog> page, SiteExecuteLogRequest request) throws Exception;

    void exportExecuteLog(SiteExecuteLogRequest request, HttpServletResponse response);
}
