package com.mvc.dao;

import com.mvc.entity.DeviceAlarm;
import com.mvc.entity.DeviceAlarmExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DeviceAlarmMapper {
    long countByExample(DeviceAlarmExample example);

    int deleteByExample(DeviceAlarmExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DeviceAlarm record);

    int insertSelective(DeviceAlarm record);

    List<DeviceAlarm> selectByExample(DeviceAlarmExample example);

    DeviceAlarm selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DeviceAlarm record, @Param("example") DeviceAlarmExample example);

    int updateByExample(@Param("record") DeviceAlarm record, @Param("example") DeviceAlarmExample example);

    int updateByPrimaryKeySelective(DeviceAlarm record);

    int updateByPrimaryKey(DeviceAlarm record);
}