package com.ruoyi.web.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.web.domain.dto.environmentWarningThresholdRole.EnvironmentWarningThresholdRoleAddRequest;
import com.ruoyi.web.domain.dto.environmentWarningThresholdRole.EnvironmentWarningThresholdRoleEditRequest;
import com.ruoyi.web.domain.dto.environmentWarningThresholdRole.EnvironmentWarningThresholdRoleQueryRequest;
import com.ruoyi.web.domain.entity.EnvironmentWarningThresholdRole;

import java.util.List;


/**
 *
 */
public interface EnvironmentWarningThresholdRoleService extends IService<EnvironmentWarningThresholdRole> {
    Integer addEnvironmentWarningThresholdRole(EnvironmentWarningThresholdRoleAddRequest environmentWarningThresholdRoleAddRequest);

    boolean deleteEnvironmentWarningThresholdRole(String ids);

    void editEnvironmentWarningThresholdRole(EnvironmentWarningThresholdRoleEditRequest environmentWarningThresholdRoleEditRequest);

    /**
     * 根据id查询
     *
     * @param id
     * @return
     */
    EnvironmentWarningThresholdRole getEnvironmentWarningThresholdRoleById(int id);


    /**
     * 获取列表
     *
     * @param environmentWarningThresholdRoleQueryRequest
     * @return
     */
    List<EnvironmentWarningThresholdRole> getListEnvironmentWarningThresholdRole(EnvironmentWarningThresholdRoleQueryRequest environmentWarningThresholdRoleQueryRequest);
}

