配置ddos增加记录日志跟区域管控

This commit is contained in:
zhanghongqing
2018-11-26 17:06:25 +08:00
parent 4e6b1fd088
commit 67d8b893e3
8 changed files with 49 additions and 10 deletions

View File

@@ -37,6 +37,7 @@
<result column="antiddos_protocol" property="antiddosProtocol" jdbcType="VARCHAR" />
<result column="bps_threadshold" property="bpsThreadshold" jdbcType="BIGINT" />
<result column="pps_threadshold" property="ppsThreadshold" jdbcType="BIGINT" />
<result column="do_log" property="doLog" jdbcType="INTEGER" />
</resultMap>
<sql id="columns">
@@ -44,7 +45,7 @@
,r.protocol,r.protocol_id,r.direction,r.cfg_type,r.action,r.dest_port,r.dest_ip_address
,r.is_valid,r.is_audit,r.creator_id,r.create_time,r.editor_id
,r.edit_time,r.auditor_id,r.audit_time,r.service_id,r.request_id,
r.compile_id,r.is_area_effective,r.classify,r.attribute,r.lable
r.compile_id,r.is_area_effective,r.classify,r.attribute,r.lable,r.do_log
,r.area_effective_ids,r.function_id,r.cfg_region_code,r.antiddos_protocol,r.bps_threadshold,r.pps_threadshold
</sql>
@@ -219,7 +220,8 @@
cfg_region_code,
antiddos_protocol,
bps_threadshold,
pps_threadshold
pps_threadshold,
do_log
)values (
#{cfgDesc,jdbcType=VARCHAR},
#{action,jdbcType=INTEGER},
@@ -254,7 +256,8 @@
#{cfgRegionCode,jdbcType=INTEGER},
#{antiddosProtocol,jdbcType=VARCHAR},
#{bpsThreadshold,jdbcType=BIGINT},
#{ppsThreadshold,jdbcType=BIGINT}
#{ppsThreadshold,jdbcType=BIGINT},
#{doLog,jdbcType=INTEGER}
)
</insert>
@@ -348,6 +351,9 @@
</if>
<if test="cfgRegionCode != null " >
cfg_region_code = #{cfgRegionCode,jdbcType=INTEGER},
</if>
<if test="doLog != null " >
do_log = #{doLog,jdbcType=INTEGER},
</if>
antiddos_protocol = #{antiddosProtocol,jdbcType=VARCHAR},
bps_threadshold = #{bpsThreadshold,jdbcType=BIGINT},