白名单、Packet、Stream配置列表增加源/目的IP、关键字检索.

This commit is contained in:
zhangwq
2018-11-04 13:32:02 +08:00
parent 1ec2f7ad97
commit 47bbea8652
9 changed files with 66 additions and 11 deletions

View File

@@ -1046,6 +1046,18 @@
<if test="functionId != null">
AND a.function_id=#{functionId,jdbcType=INTEGER}
</if>
<if test="ipPort != null">
AND a.compile_id in (select i.compile_id from ip_port_cfg i
<where>
<if test="ipPort.srcIpAddress != null and ipPort.srcIpAddress != ''">
i.src_ip_address = #{ipPort.srcIpAddress,jdbcType=VARCHAR}
</if>
<if test="ipPort.destIpAddress != null and ipPort.destIpAddress != ''">
i.dest_ip_address = #{ipPort.destIpAddress,jdbcType=VARCHAR}
</if>
</where>
)
</if>
<!-- 数据范围过滤 -->
${sqlMap.dsf}
</trim>