package com.sooka.sponest.monitor.device.mapper;

import com.sooka.sponest.monitor.dahua.domain.CentermonitorTMonitoringEquipmentPositionDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 长轮询获取设备位置消息
 *
 * @author ruoyi
 * @date 2024-07-31
 */
public interface CentermonitorTMonitoringEquipmentPositionMapper {

    /**
     * 长轮询获取设备位置消息
     */
    public int insertEquipmentPosition(CentermonitorTMonitoringEquipmentPositionDO centermonitorTMonitoringEquipmentPositionDO);


    List<CentermonitorTMonitoringEquipmentPositionDO> selectRecorderGPSList();

    void updateLongitudeAndLatitudeByCameraCode(@Param("longitude")String longitude, @Param("latitude")String latitude, @Param("code")String code);
}
