package com.testor.module.environment.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.testor.module.accident.model.resp.ReportUnitResp;
import com.testor.module.environment.model.domain.TBasicEnvironmentManage;
import com.testor.module.environment.model.dto.TBasicEnvironmentManageParam;
import com.tongtech.tfw.backend.common.biz.models.BaseResponse;
import com.tongtech.tfw.backend.common.models.supers.SuperService;

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

/**
 * 环保基本面管理Service接口
 * 
 * @author testor-framework
 * @date 2022-09-16 13:37:50
 */
public interface TBasicEnvironmentManageService extends SuperService<TBasicEnvironmentManage> {


    BaseResponse<TBasicEnvironmentManage> edit(TBasicEnvironmentManage addRequest);

    BaseResponse<TBasicEnvironmentManage> getByIds(String orgId);

    IPage<TBasicEnvironmentManage> getList(TBasicEnvironmentManageParam param, String parentIds, String orgId, List<String> companyIds);

    ReportUnitResp lookOrg(String orgId) throws Exception;

    void export(HttpServletResponse response, TBasicEnvironmentManageParam param);
}
