xml用function_id替换协议ID

This commit is contained in:
wangxin
2018-07-12 15:49:52 +08:00
parent 930373e999
commit 101837514f
3 changed files with 2 additions and 4 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=20
and t.function_id=#{(functionId,jdbcType=Integer}
<if test="ipPort.srcIpAddress != null and ipPort.srcIpAddress != ''">
and t.src_ip_address =#{(ipPort.srcIpAddress,jdbcType=VARCHAR}
</if>

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=17
and t.function_id=#{(functionId,jdbcType=Integer}
<if test="ipPort.srcIpAddress != null and ipPort.srcIpAddress != ''">
and t.src_ip_address =#{(ipPort.srcIpAddress,jdbcType=VARCHAR}
</if>