package com.ruoyi.system.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface SysAlarmMapper {
    void insertalarm(@Param("tableName")String tableName,@Param("faultId")String faultId,
                     @Param("faultdescs")String faultdescs,
                     @Param("faultstatus")String faultstatus,
                     @Param("createtime")String createtime,
                     @Param("messageType")String messageType,
                     @Param("controllerId")String controllerId,
                     @Param("deviceId")String deviceId,
                     @Param("longitude")String longitude,
                     @Param("latitude")String latitude);
    void updatealarm(@Param("controllerId")String controllerId,@Param("deviceId")String deviceId);
}
