协议ID修改

This commit is contained in:
wangxin
2018-07-12 15:19:37 +08:00
parent f1abf9062d
commit ed4e9201e3
4 changed files with 7 additions and 126 deletions

View File

@@ -217,7 +217,7 @@
<if test="ipPort!=null">
AND a.compile_id in (select t.compile_id from ip_port_cfg t
<where>
and t.protocol_id=19
and t.protocol_id=20
<if test="ipPort.srcIpAddress != null and ipPort.srcIpAddress != ''">
and t.src_ip_address =#{(ipPort.srcIpAddress,jdbcType=VARCHAR}
</if>
@@ -506,7 +506,7 @@
</update>
<!-- 删除http子配置 -->
<delete id="deleteIpCfg" >
delete from ip_port_cfg where compile_id=#{compileId} and protocol_id=19 and function_id=#{functionId}
delete from ip_port_cfg where compile_id=#{compileId} and function_id=#{functionId}
</delete>
<delete id="deleteHttpUrlCfg">
delete from http_url_cfg where compile_id=#{compileId} and function_id=#{functionId}