IP白名单增删改查提交

This commit is contained in:
wangxin
2018-05-21 19:42:24 +08:00
parent 947a21c9f0
commit 43337bf51c
9 changed files with 713 additions and 102 deletions

View File

@@ -338,6 +338,8 @@
</if>
</otherwise>
</choose>
<!-- 数据范围过滤 -->
${sqlMap.dsf}
</trim>
<choose>
<when test="page !=null and page.orderBy != null and page.orderBy != ''">
@@ -391,25 +393,25 @@
cfg_desc = #{cfgDesc,jdbcType=VARCHAR},
</if>
<if test="cfgRegionCode != null">
CFG_REGION_CODE=#{cfgRegionCode,jdbcType=INTEGER}
CFG_REGION_CODE=#{cfgRegionCode,jdbcType=INTEGER},
</if>
<if test="cfgType != null and cfgType != ''">
CFG_TYPE =#{CFG_TYPE,jdbcType=VARCHAR}
CFG_TYPE =#{cfgType,jdbcType=VARCHAR},
</if>
<if test="ipType != null" >
ip_type = #{ipType,jdbcType=INTEGER},
IP_TYPE = #{ipType,jdbcType=INTEGER},
</if>
<if test="ipPattern != null">
IP_PATTERN=#{ipPattern,jdbcType=INTEGER}
IP_PATTERN=#{ipPattern,jdbcType=INTEGER},
</if>
<if test="ipAddress != null and ipAddress != ''">
IP_ADDRESS=#{ipAddress,jdbcType=VARCHAR}
IP_ADDRESS=#{ipAddress,jdbcType=VARCHAR},
</if>
<if test="portPattern != null">
PORT_PATTERN=#{portPattern,jdbcType=INTEGER}
PORT_PATTERN=#{portPattern,jdbcType=INTEGER},
</if>
<if test="port != null and port !=''">
PORT=#{port,jdbcType=VARCHAR}
PORT=#{port,jdbcType=VARCHAR},
</if>
<if test="direction != null" >
direction = #{direction,jdbcType=INTEGER},