vpn 用户管理修改新增修改和删除逻辑

ip地址池增加存在可用ip地址池才在策略展示
This commit is contained in:
DuanDongmei
2018-11-30 15:48:11 +08:00
parent 64efd2b9d6
commit a2266e45d6
15 changed files with 378 additions and 208 deletions

View File

@@ -443,6 +443,6 @@
<select id="findAddrPoolCfg" resultMap="addrPoolMap">
SELECT
<include refid="addrPoolColumns"/>,r.ADDR_POOL_NAME
FROM ip_reuse_addr_pool r WHERE r.is_valid !=-1
FROM ip_reuse_addr_pool r WHERE r.is_audit=1
</select>
</mapper>

View File

@@ -92,7 +92,7 @@
#{serverIp,jdbcType=VARCHAR},
#{userType,jdbcType=VARCHAR},
#{isValid,jdbcType=INTEGER},
0,
1,
#{creatorId,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP},
#{editorId,jdbcType=INTEGER},