package com.huimv.admin.service;

import com.huimv.admin.common.utils.Result;
import com.huimv.admin.entity.EnergyWarningThreshold;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2023-02-14
 */
public interface IEnergyWarningThresholdService extends IService<EnergyWarningThreshold> {
    Result list(HttpServletRequest httpServletRequest, Map<String,String> paramsMap);

    Result add(HttpServletRequest httpServletRequest, List<EnergyWarningThreshold> energyWarningThresholds);
}
