package com.ruoyi.web.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.web.domain.dto.environmentWarningThreshold.EnvironmentWarningThresholdAddRequest;
import com.ruoyi.web.domain.dto.environmentWarningThreshold.EnvironmentWarningThresholdEditRequest;
import com.ruoyi.web.domain.dto.environmentWarningThreshold.EnvironmentWarningThresholdQueryRequest;
import com.ruoyi.web.domain.entity.EnvironmentWarningThreshold;
import com.ruoyi.web.domain.vo.EnvironmentWarningThresholdVO;

import java.util.List;


/**
 *
 */
public interface EnvironmentWarningThresholdService extends IService<EnvironmentWarningThreshold> {
    Integer addEnvironmentWarningThreshold(EnvironmentWarningThresholdAddRequest lotDataCollectionAddRequest);

    boolean deleteEnvironmentWarningThreshold(String ids);

    void editEnvironmentWarningThreshold(EnvironmentWarningThresholdEditRequest environmentWarningThresholdEditRequest);

    /**
     * 根据id获取
     *
     * @param id
     * @return
     */
    EnvironmentWarningThresholdVO getEnvironmentWarningThresholdById(int id);

    EnvironmentWarningThresholdVO getEnvironmentWarningThresholdVO(EnvironmentWarningThreshold lotDataCollection);

    /**
     * 获取列表
     *
     * @param environmentWarningThresholdQueryRequest
     * @return
     */
    List<EnvironmentWarningThresholdVO> getListEnvironmentWarningThreshold(EnvironmentWarningThresholdQueryRequest environmentWarningThresholdQueryRequest);

}
