|
|
@@ -36,6 +36,7 @@ public interface MediaServerMapper {
|
|
|
"default_server,"+
|
|
|
"create_time,"+
|
|
|
"update_time,"+
|
|
|
+ "transcode_suffix,"+
|
|
|
"hook_alive_interval"+
|
|
|
") VALUES " +
|
|
|
"(" +
|
|
|
@@ -62,6 +63,7 @@ public interface MediaServerMapper {
|
|
|
"#{defaultServer}, " +
|
|
|
"#{createTime}, " +
|
|
|
"#{updateTime}, " +
|
|
|
+ "#{transcodeSuffix}, " +
|
|
|
"#{hookAliveInterval})")
|
|
|
int add(MediaServerItem mediaServerItem);
|
|
|
|
|
|
@@ -88,6 +90,7 @@ public interface MediaServerMapper {
|
|
|
"<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 @@ public interface MediaServerMapper {
|
|
|
"<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>"})
|