Stream media配置保存并下发功能增加;
This commit is contained in:
@@ -11,6 +11,7 @@ import com.nis.domain.configuration.BaseIpCfg;
|
||||
import com.nis.domain.configuration.BaseStringCfg;
|
||||
import com.nis.domain.configuration.CfgIndexInfo;
|
||||
import com.nis.domain.configuration.IpPortCfg;
|
||||
import com.nis.domain.configuration.NtcSubscribeIdCfg;
|
||||
import com.nis.web.dao.MyBatisDao;
|
||||
|
||||
|
||||
@@ -28,15 +29,15 @@ public interface AvContentCfgDao {
|
||||
public void deleteIpCfg(CfgIndexInfo entity);
|
||||
|
||||
public List<AvContUrlCfg> getAvContUrlList(CfgIndexInfo entity);
|
||||
public void saveAvContUrlCfg(CfgIndexInfo entity);
|
||||
public void saveAvContUrlCfg(AvContUrlCfg entity);
|
||||
public void saveAvContUrlCfgNew(AvContUrlCfg entity);
|
||||
public void deleteAvContUrlCfg(CfgIndexInfo entity);
|
||||
|
||||
public void insertCfgIndexInfo(CfgIndexInfo entity);
|
||||
public void insertAvVoipIp(CfgIndexInfo entity);
|
||||
public void insertAvVoipAccountCfg(CfgIndexInfo entity);
|
||||
public void insertAvVoipAccountCfg(AvVoipAccountCfg entity);
|
||||
public void saveAvVoipAccountCfg(AvVoipAccountCfg entity);
|
||||
public void insertAvVoipKeywordCfg(CfgIndexInfo entity);
|
||||
public void insertAvVoipKeywordCfg(NtcSubscribeIdCfg entity);
|
||||
|
||||
public void updateCfgIndexInfo(CfgIndexInfo entity);
|
||||
public void updateAvVoipIp(CfgIndexInfo entity);
|
||||
|
||||
@@ -671,12 +671,12 @@
|
||||
#{lable,jdbcType=VARCHAR},
|
||||
#{areaEffectiveIds,jdbcType=VARCHAR},
|
||||
#{functionId,jdbcType=INTEGER},
|
||||
#{avContUrlCfg.cfgKeywords,jdbcType=VARCHAR},
|
||||
#{avContUrlCfg.cfgType,jdbcType=VARCHAR},
|
||||
#{avContUrlCfg.cfgRegionCode,jdbcType=INTEGER},
|
||||
#{avContUrlCfg.exprType,jdbcType=INTEGER},
|
||||
#{avContUrlCfg.matchMethod,jdbcType=INTEGER},
|
||||
#{avContUrlCfg.isHexbin,jdbcType=INTEGER},
|
||||
#{cfgKeywords,jdbcType=VARCHAR},
|
||||
#{cfgType,jdbcType=VARCHAR},
|
||||
#{cfgRegionCode,jdbcType=INTEGER},
|
||||
#{exprType,jdbcType=INTEGER},
|
||||
#{matchMethod,jdbcType=INTEGER},
|
||||
#{isHexbin,jdbcType=INTEGER},
|
||||
#{doLog,jdbcType=INTEGER}
|
||||
)
|
||||
</insert>
|
||||
@@ -743,6 +743,9 @@
|
||||
|
||||
<!-- insert cfgIndexInfox -->
|
||||
<insert id="insertCfgIndexInfo" parameterType="com.nis.domain.configuration.CfgIndexInfo" >
|
||||
<selectKey resultType="java.lang.Long" order="AFTER" keyProperty="cfgId">
|
||||
SELECT LAST_INSERT_ID()
|
||||
</selectKey>
|
||||
insert into cfg_index_info(
|
||||
CFG_DESC,
|
||||
ACTION,
|
||||
@@ -843,18 +846,18 @@
|
||||
#{lable,jdbcType=VARCHAR},
|
||||
#{areaEffectiveIds,jdbcType=VARCHAR},
|
||||
#{functionId,jdbcType=INTEGER},
|
||||
#{voipIp.ipType,jdbcType=INTEGER},
|
||||
#{voipIp.srcIpAddress,jdbcType=VARCHAR},
|
||||
#{voipIp.ipPattern,jdbcType=INTEGER},
|
||||
#{voipIp.portPattern,jdbcType=INTEGER},
|
||||
#{voipIp.srcPort,jdbcType=VARCHAR},
|
||||
#{voipIp.protocol,jdbcType=INTEGER},
|
||||
#{voipIp.protocolId,jdbcType=INTEGER},
|
||||
#{voipIp.direction,jdbcType=INTEGER},
|
||||
#{voipIp.destPort,jdbcType=VARCHAR},
|
||||
#{voipIp.destIpAddress,jdbcType=VARCHAR},
|
||||
#{voipIp.cfgType,jdbcType=VARCHAR},
|
||||
#{voipIp.cfgRegionCode,jdbcType=INTEGER}
|
||||
#{ipType,jdbcType=INTEGER},
|
||||
#{srcIpAddress,jdbcType=VARCHAR},
|
||||
#{ipPattern,jdbcType=INTEGER},
|
||||
#{portPattern,jdbcType=INTEGER},
|
||||
#{srcPort,jdbcType=VARCHAR},
|
||||
#{protocol,jdbcType=INTEGER},
|
||||
#{protocolId,jdbcType=INTEGER},
|
||||
#{direction,jdbcType=INTEGER},
|
||||
#{destPort,jdbcType=VARCHAR},
|
||||
#{destIpAddress,jdbcType=VARCHAR},
|
||||
#{cfgType,jdbcType=VARCHAR},
|
||||
#{cfgRegionCode,jdbcType=INTEGER}
|
||||
)
|
||||
</insert>
|
||||
<!-- insert AV_VOIP_ACCOUNT_CFG表信息 -->
|
||||
@@ -905,12 +908,12 @@
|
||||
#{lable,jdbcType=VARCHAR},
|
||||
#{areaEffectiveIds,jdbcType=VARCHAR},
|
||||
#{functionId,jdbcType=INTEGER},
|
||||
#{voipAccount.cfgKeywords,jdbcType=VARCHAR},
|
||||
#{voipAccount.cfgType,jdbcType=VARCHAR},
|
||||
#{voipAccount.cfgRegionCode,jdbcType=INTEGER},
|
||||
#{voipAccount.exprType,jdbcType=INTEGER},
|
||||
#{voipAccount.matchMethod,jdbcType=INTEGER},
|
||||
#{voipAccount.isHexbin,jdbcType=INTEGER}
|
||||
#{cfgKeywords,jdbcType=VARCHAR},
|
||||
#{cfgType,jdbcType=VARCHAR},
|
||||
#{cfgRegionCode,jdbcType=INTEGER},
|
||||
#{exprType,jdbcType=INTEGER},
|
||||
#{matchMethod,jdbcType=INTEGER},
|
||||
#{isHexbin,jdbcType=INTEGER}
|
||||
)
|
||||
</insert>
|
||||
<insert id="saveAvVoipAccountCfg" parameterType="com.nis.domain.configuration.AvVoipAccountCfg" >
|
||||
@@ -1016,12 +1019,12 @@
|
||||
#{lable,jdbcType=VARCHAR},
|
||||
#{areaEffectiveIds,jdbcType=VARCHAR},
|
||||
#{functionId,jdbcType=INTEGER},
|
||||
#{ntcSubscribeIdCfg.cfgKeywords,jdbcType=VARCHAR},
|
||||
#{ntcSubscribeIdCfg.cfgType,jdbcType=VARCHAR},
|
||||
#{ntcSubscribeIdCfg.cfgRegionCode,jdbcType=INTEGER},
|
||||
#{ntcSubscribeIdCfg.exprType,jdbcType=INTEGER},
|
||||
#{ntcSubscribeIdCfg.matchMethod,jdbcType=INTEGER},
|
||||
#{ntcSubscribeIdCfg.isHexbin,jdbcType=INTEGER}
|
||||
#{cfgKeywords,jdbcType=VARCHAR},
|
||||
#{cfgType,jdbcType=VARCHAR},
|
||||
#{cfgRegionCode,jdbcType=INTEGER},
|
||||
#{exprType,jdbcType=INTEGER},
|
||||
#{matchMethod,jdbcType=INTEGER},
|
||||
#{isHexbin,jdbcType=INTEGER}
|
||||
)
|
||||
</insert>
|
||||
|
||||
@@ -2107,7 +2110,7 @@
|
||||
</where>
|
||||
</select>
|
||||
<update id="updateCfgValid" parameterType="com.nis.domain.configuration.BaseCfg">
|
||||
update ${tableName} set is_valid = #{isValid,jdbcType=INTEGER},
|
||||
update ${tableName} set is_valid = #{isValid,jdbcType=INTEGER},is_audit = #{isAudit,jdbcType=INTEGER},
|
||||
editor_id = #{editorId,jdbcType=INTEGER} ,
|
||||
edit_time = #{editTime,jdbcType=TIMESTAMP}
|
||||
<trim prefix="WHERE" prefixOverrides="AND |OR ">
|
||||
|
||||
Reference in New Issue
Block a user