Protocol配置列表增加源/目的IP、关键字检索.
This commit is contained in:
@@ -216,15 +216,15 @@
|
||||
<if test="ipPort!=null">
|
||||
AND a.compile_id in (select t.compile_id from ip_port_cfg t
|
||||
<where>
|
||||
and t.protocol_id=4
|
||||
and t.protocol_id=5
|
||||
<if test="ipPort.srcIpAddress != null and ipPort.srcIpAddress != ''">
|
||||
and t.src_ip_address =#{(ipPort.srcIpAddress,jdbcType=VARCHAR}
|
||||
and t.src_ip_address =#{ipPort.srcIpAddress,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="ipPort.srcPort != null and ipPort.srcPort != ''">
|
||||
and t.src_port =#{ipPort.srcPort,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="ipPort.destIpAddress != null and ipPort.destIpAddress != ''">
|
||||
and t.dest_ip_address =#{(ipPort.destIpAddress,jdbcType=VARCHAR}
|
||||
and t.dest_ip_address =#{ipPort.destIpAddress,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="ipPort.destPort != null and ipPort.destPort != ''">
|
||||
and t.dest_port =#{ipPort.destPort,jdbcType=VARCHAR}
|
||||
@@ -232,16 +232,11 @@
|
||||
</where>
|
||||
)
|
||||
</if>
|
||||
<!-- <if test="mail!=null">
|
||||
AND a.compile_id in (select f.compile_id from mail_keyword_cfg f
|
||||
<where>
|
||||
<if test="mail.cfgKeywords != null and mail.cfgKeywords != ''">
|
||||
and f.cfg_keywords like concat(concat('%',#{mail.cfgKeywords,jdbcType=VARCHAR}),'%')
|
||||
</if>
|
||||
|
||||
</where>
|
||||
)
|
||||
</if> -->
|
||||
<if test="searchKeywords != null and searchKeywords !=''">
|
||||
AND a.compile_id in (SELECT m.compile_id FROM mail_keyword_cfg m WHERE
|
||||
REPLACE(m.cfg_keywords,'***and***','|') LIKE concat(concat('%',#{searchKeywords,jdbcType=VARCHAR}),'%')
|
||||
)
|
||||
</if>
|
||||
<!-- 数据范围过滤 -->
|
||||
${sqlMap.dsf}
|
||||
</trim>
|
||||
|
||||
Reference in New Issue
Block a user