package com.njcn.device.pq.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.njcn.device.pq.pojo.po.AlarmStrategy;
import com.njcn.device.pq.pojo.vo.AlarmStrategyVO;

import java.util.List;

/**
 * @version 1.0.0
 * @author: chenchao
 * @date: 2022/06/23 13:39
 */
public interface AlarmStrategyMapper extends BaseMapper<AlarmStrategy> {

    /**
     * 获取告警策略列表
     */
    List<AlarmStrategyVO> getAlarmStrategyData();
    /**
     * 查询告警策略是否已存在
     */
    Integer getAlarmStrategyById(String id);
    /**
     * 删除告警策略
     */
    void updateAlarmStrategyState(String id);
}
