package com.ruoyi.project.aspen.mapper;

import java.util.List;
import com.ruoyi.framework.aspectj.lang.annotation.DataScope;
import com.ruoyi.project.aspen.domain.TElecdashboardAlarm;

/**
 * 电厂大屏预警Mapper接口
 *
 * @author ruoyi
 * @date 2022-09-19
 */
public interface TElecdashboardAlarmMapper
{
    /**
     * 查询电厂大屏预警
     *
     * @param id 电厂大屏预警ID
     * @return 电厂大屏预警
     */
    public TElecdashboardAlarm selectTElecdashboardAlarmById(Long id);

    /**
     * 查询电厂大屏预警列表
     *
     * @param tElecdashboardAlarm 电厂大屏预警
     * @return 电厂大屏预警集合
     */
    public List<TElecdashboardAlarm> selectTElecdashboardAlarmList(TElecdashboardAlarm tElecdashboardAlarm);

    /**
     * 新增电厂大屏预警
     *
     * @param tElecdashboardAlarm 电厂大屏预警
     * @return 结果
     */
    public int insertTElecdashboardAlarm(TElecdashboardAlarm tElecdashboardAlarm);

    /**
     * 修改电厂大屏预警
     *
     * @param tElecdashboardAlarm 电厂大屏预警
     * @return 结果
     */
    public int updateTElecdashboardAlarm(TElecdashboardAlarm tElecdashboardAlarm);

    /**
     * 删除电厂大屏预警
     *
     * @param id 电厂大屏预警ID
     * @return 结果
     */
    public int deleteTElecdashboardAlarmById(Long id);

    /**
     * 批量删除电厂大屏预警
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteTElecdashboardAlarmByIds(Long[] ids);
}
