648540858
2024-05-20 d70bfb53dd5d92d0405f7ce3d2c9bbabce26184b
src/main/java/com/genersoft/iot/vmp/storager/dao/MediaServerMapper.java
@@ -36,6 +36,7 @@
            "default_server,"+
            "create_time,"+
            "update_time,"+
            "transcode_suffix,"+
            "hook_alive_interval"+
            ") VALUES " +
            "(" +
@@ -62,6 +63,7 @@
            "#{defaultServer}, " +
            "#{createTime}, " +
            "#{updateTime}, " +
            "#{transcodeSuffix}, " +
            "#{hookAliveInterval})")
    int add(MediaServerItem mediaServerItem);
@@ -88,6 +90,7 @@
            "<if test=\"hookAliveInterval != null\">, hook_alive_interval=#{hookAliveInterval}</if>" +
            "<if test=\"recordDay != null\">, record_day=#{recordDay}</if>" +
            "<if test=\"recordPath != null\">, record_path=#{recordPath}</if>" +
            "<if test=\"transcodeSuffix != null\">, transcode_suffix=#{transcodeSuffix}</if>" +
            "WHERE id=#{id}"+
            " </script>"})
    int update(MediaServerItem mediaServerItem);
@@ -113,6 +116,7 @@
            "<if test=\"recordAssistPort != null\">, record_assist_port=#{recordAssistPort}</if>" +
            "<if test=\"recordDay != null\">, record_day=#{recordDay}</if>" +
            "<if test=\"recordPath != null\">, record_path=#{recordPath}</if>" +
            "<if test=\"transcodeSuffix != null\">, transcode_suffix=#{transcodeSuffix}</if>" +
            "<if test=\"hookAliveInterval != null\">, hook_alive_interval=#{hookAliveInterval}</if>" +
            "WHERE ip=#{ip} and http_port=#{httpPort}"+
            " </script>"})