648540858
2023-09-20 4df90d9ba440e01efe5b1b8958d86b2dd9b5d2b7
src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceMapper.java
old mode 100644 new mode 100755
@@ -2,6 +2,7 @@
import com.genersoft.iot.vmp.gb28181.bean.Device;
import org.apache.ibatis.annotations.*;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
@@ -235,7 +236,7 @@
            "geo_coord_sys,"+
            "on_line"+
            " FROM wvp_device WHERE ip = #{host} AND port=#{port}")
    Device getDeviceByHostAndPort(String host, int port);
    Device getDeviceByHostAndPort(@Param("host") String host, @Param("port") int port);
    @Update(value = {" <script>" +
            "UPDATE wvp_device " +