package com.jcdm.main.em.equipmentAlarm.mapper;
|
|
import com.jcdm.main.em.equipmentAlarm.domain.EmEquipmentAlarm;
|
|
import java.util.List;
|
|
/**
|
* 设备报警Mapper接口
|
*
|
* @author ruimin
|
* @date 2023-12-15
|
*/
|
public interface EmEquipmentAlarmMapper
|
{
|
/**
|
* 查询设备报警
|
*
|
* @param id 设备报警主键
|
* @return 设备报警
|
*/
|
public EmEquipmentAlarm selectEmEquipmentAlarmById(Long id);
|
|
/**
|
* 查询设备报警列表
|
*
|
* @param emEquipmentAlarm 设备报警
|
* @return 设备报警集合
|
*/
|
public List<EmEquipmentAlarm> selectEmEquipmentAlarmList(EmEquipmentAlarm emEquipmentAlarm);
|
|
/**
|
* 新增设备报警
|
*
|
* @param emEquipmentAlarm 设备报警
|
* @return 结果
|
*/
|
public int insertEmEquipmentAlarm(EmEquipmentAlarm emEquipmentAlarm);
|
|
/**
|
* 修改设备报警
|
*
|
* @param emEquipmentAlarm 设备报警
|
* @return 结果
|
*/
|
public int updateEmEquipmentAlarm(EmEquipmentAlarm emEquipmentAlarm);
|
|
/**
|
* 删除设备报警
|
*
|
* @param id 设备报警主键
|
* @return 结果
|
*/
|
public int deleteEmEquipmentAlarmById(Long id);
|
|
/**
|
* 批量删除设备报警
|
*
|
* @param ids 需要删除的数据主键集合
|
* @return 结果
|
*/
|
public int deleteEmEquipmentAlarmByIds(Long[] ids);
|
}
|