白名单、Packet、Stream配置列表增加源/目的IP、关键字检索.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user