package com.ruoyi.web.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.web.domain.dto.environmentWarningThresholdRole.EnvironmentWarningThresholdUserAddRequest;
import com.ruoyi.web.domain.dto.environmentWarningThresholdRole.EnvironmentWarningThresholdUserEditRequest;
import com.ruoyi.web.domain.dto.environmentWarningThresholdRole.EnvironmentWarningThresholdUserQueryRequest;
import com.ruoyi.web.domain.entity.EnvironmentWarningThresholdUser;
import com.ruoyi.web.domain.vo.EnvironmentWarningThresholdUserVO;

import java.util.List;

/**
 *
 */
public interface EnvironmentWarningThresholdUserService extends IService<EnvironmentWarningThresholdUser> {
    Integer addEnvironmentWarningThresholdUser(EnvironmentWarningThresholdUserAddRequest environmentWarningThresholdUserAddRequest);

    boolean deleteEnvironmentWarningThresholdUser(String ids);

    void editEnvironmentWarningThresholdUser(EnvironmentWarningThresholdUserEditRequest environmentWarningThresholdUserEditRequest);

    /**
     * 根据id查询
     *
     * @param id
     * @return
     */
    EnvironmentWarningThresholdUserVO getEnvironmentWarningThresholdUserVOById(int id);

    EnvironmentWarningThresholdUserVO getEnvironmentWarningThresholdUserVO(EnvironmentWarningThresholdUser environmentWarningThresholdUser);

    /**
     * 获取列表
     *
     * @param environmentWarningThresholdUserQueryRequest
     * @return
     */
    List<EnvironmentWarningThresholdUserVO> getListEnvironmentWarningThresholdUserVO(EnvironmentWarningThresholdUserQueryRequest environmentWarningThresholdUserQueryRequest);
}
